Data types
This is an old version of the API. Switch to the YooMoney API.
Type | Description |
---|---|
int | 32-bit signed integer |
long | 64-bit signed integer |
boolean | Logical value (true or false ) |
string | UTF‑8 encoded text string |
normalizedString | Text string in UTF‑8 encoding, without line break, carriage returns, or tab symbols |
dateTime | Timestamp in the following format according to the RFC3339 standard: YYYY-MM-DDThh:mm:ss.fZZZZZ Format breakdown:
Example: 2020-07-24T19:00:00.000+03:00 — 7 p.m. on July 24, 2020, Europe/Moscow time zone (UTC+03:00). |
YMAccount | YooMoney for Shopping virtual account number. String of decimal digits from 11 to 33 digits long. |
CurrencyAmount | Amount. Fixed-point decimal number with 2-digit precision. |
CurrencyCode | Unsigned integer. Currency code. Fixed value: 643 — Russian ruble |
ClientTransactionNumber | Unique transaction ID. Must be unique for the merchant over the entire history of operations. The parameter value must be a string containing from 1 to 24 characters. Allowed characters: 0-9 A-Z a-z . , \ | / - + = # ~ ( ) { } [ ] : ; . Recommended values: positive decimal integers in increasing order. |
See also