Data types
TypeCorresponding JSON typeDescription
stringstringCharacter string in UTF‑8 encoding.
amountnumberAmount. Fixed-point decimal number with 2-digit precision.
booleanbooleanLogical value: true, false.
intnumber32-bit signed integer number.
longnumber64-bit signed integer number.
objectobjectEmbedded JSON object.
arrayarrayArray of JSON objects.
datetimestringTimestamp value conforming to the specification RFC3339 in the format YYYY-MM-DDThh:mm:ss.fZZZZZ (see explanation below).
Description of the datetime format:
  • YYYY — Year, always 4 digits;
  • MM — Month, always 2 digits (for example, 01 for January);
  • DD — Day of the month, always 2 digits (from 01 to 31);
  • T — Uppercase letter “T”;
  • hh — Hour, always 2 digits (24-hour format, from 00 to 23);
  • mm — Minute, always 2 digits (from 00 to 59);
  • ss — Second, always 2 digits (from 00 to 59);
  • f — Fraction of a second, from 1 to 6 digits; may be omitted, in which case the preceding dot separator (.) should be omitted as well;
  • ZZZZZ — Time Zone Offset, mandatory parameter. Can take the values:
    • Z – UTC, uppercase letter “Z”;
    • +hh:mm or -hh:mm – UTC (GMT) offset (indicates that a local time is shown that is either ahead of or behind UTC by the specified number of hours and minutes).
Example: 2019-07-01T19:00:00.000+03:00 — 7 p.m. on July 1, 2019 in the time zone Europe/Moscow (UTC+03:00).
See also
Date and Time on the Internet: Timestamps Request format Response format Access token scope
© 2024, "YooMoney", NBCO LLC