merchant_order_no |
string |
Обязательно |
Merchant-side order number, max 64 chars. Also used as the idempotency key. |
ORDER-20261114-001 |
method |
string |
Необязательно |
Acquiring method: card, qr or subscription. Omit to create a checkout session. |
card |
amount |
string |
Необязательно |
Positive decimal string, max 2 decimal places. Required for card/qr; subscription pay mode requires > 0 and subscription create mode requires 0.00. |
100.00 |
country |
string |
Необязательно |
ISO 3166-1 alpha-2 country code. Required when method is present; subscription supports RU only. |
RU |
currency |
string |
Необязательно |
ISO 4217 three-letter currency code. Required when method is present; subscription supports RUB only. |
RUB |
subscription_mode |
string |
Необязательно |
Subscription mode: create (subscription QR, amount 0) or pay (pay then bind subscription). Inferred from amount when omitted. |
create |
client_login |
string |
Необязательно |
Merchant user identifier (email, phone or internal user id). Required when method=subscription. |
user-10001 |
account_bank |
string |
Необязательно |
Payer bank/operator ID. Required when method=subscription and subscription_mode=pay. |
1000000001 |
description |
string |
Необязательно |
Order description, max 32 chars. Required when method=subscription. |
Monthly subscription |
return_url |
string |
Необязательно |
HTTPS return URL after payment. |
https://merchant.example/return |
notify_url |
string |
Необязательно |
HTTPS server notification URL. |
https://merchant.example/notify |
lang |
string |
Необязательно |
Hosted checkout language: en, zh or ru. Defaults to en when method is omitted. |
en |
card |
object |
Необязательно |
Card data. Required when method=card. Card data is never stored in logs. |
|
card.card_number |
string |
Обязательно |
12-19 digits; spaces and hyphens are removed. |
4000000000000000 |
card.cvv |
string |
Обязательно |
3-5 digits. |
123 |
card.expiry_month |
string |
Необязательно |
Two-digit month, or use expiry. |
11 |
card.expiry_year |
string |
Необязательно |
Two or four digit year, or use expiry. |
2026 |
card.expiry |
string |
Необязательно |
Alternative expiry in MM/YY format. |
11/26 |
card.email |
string |
Обязательно |
Cardholder email. |
[email protected] |
card.first_name |
string |
Обязательно |
Cardholder first name. |
John |
card.last_name |
string |
Обязательно |
Cardholder last name. |
Doe |
card.billing_info |
object |
Необязательно |
Optional billing address. |
|
card.billing_info.bill_address |
string |
Необязательно |
Street address. |
155 Osceola Rd |
card.billing_info.bill_country |
string |
Необязательно |
Numeric country code. |
840 |
card.billing_info.bill_state |
string |
Необязательно |
State or region. |
FL |
card.billing_info.bill_city |
string |
Необязательно |
City. |
Belleair |
card.billing_info.bill_zip |
string |
Необязательно |
Postal code. |
33756 |
card.billing_info.bill_phone |
string |
Необязательно |
Phone number. |
7275109811 |