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 | Temporary tag conforming to the RFC3339 standard in the following format: YYYY-MM-DDThh:mm:ss.fZZZZZ Format breakdown:
Example: 2019-07-01T19:00:00.000+03:00 — 7 p.m. on July 1, 2019, Europe/Moscow time zone (UTC+03:00). |
YMAccount | YooMoney 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. |
CurrencyBank | Unsigned integer. Code of the YooMoney processing center. Fixed value: 1001 — Ecombank. |
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. |