API reference¶
Every merchant API method: path, access, request fields, responses and examples. The page is generated from the OpenAPI spec, so it matches what the server checks. For the end-to-end flow see the quickstart; for statuses and codes see Statuses and errors.
Paths follow {{base_url}}, the API address issued to you for the sandbox or production
(see Environments).
Interactive reference Download openapi.yaml
List payments¶
{{base_url}}/api/v1/paymentsReturns the payments of your project, newest first, in pages; every item is the same object as GET /api/v1/payments/{id}. Use it for reconciliation: request the first page with the filters you need, then repeat the request with cursor set to next_cursor and the same filters until next_cursor is null. Payments are ordered by creation time, then by id, so a walk neither repeats nor skips payments, even ones created at the same moment; payments created after the walk started are not in it — start a new walk (for example with created_from) to get them. A status may change during the walk: an item shows the status at the moment its page was read. Test payments are listed together with live ones and are marked with is_test: true; is_test narrows the list to one kind. Filters combine with AND. Payments of other projects are never listed. The signature is required only when the project policy has signature_required. A request whose Authorization carries no nl_live_…/nl_test_… project token gets 401 session_invalid.
Access: scope payments:read · signature if the project policy requires it
Query parameters¶
| Parameter | Type | Req. | Description |
|---|---|---|---|
status |
array of string: created, processing, completed, canceled, error, appeal |
no | Only payments in these statuses, comma-separated (completed,canceled); the parameter may also be repeated. Omitted — any status. |
merchant_payment_id |
string | no | Only the payment with this order id of yours (exact match). The id is unique within the project, so the page has at most one payment. |
created_from |
string, date-time | no | Created at or after this moment, RFC 3339 with a time zone. |
created_to |
string, date-time | no | Created before this moment (not including it), RFC 3339 with a time zone. |
is_test |
boolean | no | true — only test payments (is_test: true), false — only live ones. Omitted — both. |
cursor |
string | no | next_cursor of the previous page; omitted — the first page. Do not build it yourself. |
limit |
integer | no | Page size, 1–100; 50 by default. |
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Responses¶
| Code | Meaning |
|---|---|
200 |
A page of payments and the cursor of the next one. |
400 |
A query parameter is wrong; nothing was read. invalid_status — a status is not one of the payment statuses; invalid_merchant_payment_id — merchant_payment_id does not match the order id format; invalid_date_range — created_from/created_to is not RFC 3339 with a time zone or created_from is later than created_to; invalid_cursor — cursor is not a next_cursor of this API; invalid_limit — limit is not a whole number from 1 to 100; invalid_is_test — is_test is neither true nor false. |
401 |
token_invalid — the project token was not accepted; signature_invalid — the signature did not verify; session_invalid — Authorization has no nl_live_…/nl_test_… project token. |
403 |
insufficient_scope — the token lacks the scope of the method; project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
409 |
request_replayed — this X-Request-Nonce was already used: repeat with a new nonce and a new signature. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Example response
{
"items": [
{
"id": "3f1c2b9e-6a8d-4c4b-9a71-2c7f5d1e0a42",
"merchant_payment_id": "order-42",
"flow": "runtime_live",
"status": "completed",
"amount": 3400,
"initial_amount": 3400,
"currency": "RUB",
"geo_code": "RU",
"payment_method": "sbp",
"bank_code": "Сбер",
"is_intrabank": false,
"callback_url": "https://merchant.example/callbacks",
"is_test": false,
"merchant_information": {
"course": 100.0,
"rate": 11.0,
"amount_usdt": "34.0000",
"amount_rate": "3026.0000",
"amount_usdt_rate": "30.2600"
},
"requisite": "+79991234567",
"requisite_bank": "Сбер",
"holder_name": "Иван Петров",
"created_at": "2026-09-29T09:30:00Z",
"updated_at": "2026-09-29T09:41:12Z"
}
],
"next_cursor": "MTc5MDY3NDIwMDAwMDAwMDAwMHwzZjFjMmI5ZS02YThkLTRjNGItOWE3MS0yYzdmNWQxZTBhNDI"
}
Create a payment (SBP or card)¶
{{base_url}}/api/v1/paymentsCreates a pay-in and picks requisites within the same request: the answer comes when requisites are issued or it is clear they will not be. Use a client timeout of at least 15 seconds. Idempotent by merchant_payment_id within the project: the same id with the same request returns 200 and the stored payment (in any status, including error); the same id with a different request returns 409 payment_idempotency_conflict. A request without currency/geo_code and one with "RUB"/"RU" are the same request. A new payment for which no requisites were issued is answered with 422 carrying its payment_id: the payment is saved in error, there is no callback about it. A request rejected before acceptance (gateway, body, fields) creates nothing and leaves the merchant_payment_id free. The payment lifetime is a project setting (15 minutes by default) and is not part of the request. The signature is always required.
Access: scope payments:create · signature required
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Request body¶
| Field | Type | Req. | Description |
|---|---|---|---|
merchant_payment_id |
string | yes | Your order id, unique within the project; the idempotency key. 1–64 characters A-Z a-z 0-9 . _ : -. |
amount |
number, decimal | string | yes | Amount in major currency units, greater than zero, up to 6 decimals, without an exponent: 3400, 3400.5 or "3400.50". A string avoids float rounding. |
payment_method |
string: sbp, card_transfer, cross_border_sbp, cross_border_card, nspk, account_transfer, mobile_topup, card_matching, sbp_matching, viet_qr |
yes | sbp — SBP transfer by phone number, card_transfer — transfer to a card; cross_border_sbp and cross_border_card — cross-border transfer: the client pays in the payment currency from their bank (bank_code) to a phone or a card in another country; the provider chooses the country and the response shows it in cross_border_country; nspk — payment by an NSPK QR code: the response carries qrcode_link (https://qr.nspk.ru/…) and/or qrcode_image; account_transfer — transfer to a bank account: requisite is the recipient's account number. A same-bank transfer is is_intrabank: true with the client's bank_code; mobile_topup — mobile top-up: the client tops up a phone balance, requisite is the phone number and requisite_bank is the mobile operator; card_matching and sbp_matching — matching: a card or SBP transfer that the provider credits only by the payer's receipt; upload it with POST /api/v1/payments/{id}/receipt; viet_qr — payment by a VietQR code: the payment is in RUB, the client in Vietnam pays in dong by the QR; requisite is the VietQR payload string (build the QR from it) and qrcode_link is a link to the QR image. |
currency |
string | no | Payment currency. Default RUB; currently RUB is supported. |
geo_code |
string | no | Country, two letters (ISO 3166-1). Default RU. |
bank_code |
string | no | A bank name from GET /api/v1/banks, any case (for example Озон, Сбер, Т-Банк); not a BIC. The payer's bank, a bank of geo_code, for every method including cross_border_sbp and cross_border_card: the rate and routing depend on it; a bank of another country — 422 cross_border_invalid. Unknown name — 422 bank_not_found. Empty or omitted — any bank. |
is_intrabank |
boolean | no | Transfer within one bank only (usually with bank_code). Default false. |
callback_url |
string, uri | no | Callback address for this payment: absolute https://, no login or password, not localhost and not an internal IP. Otherwise the project address is used. |
client_id |
string | no | The payer's ID in your system: the same payer always gets the same ID. Up to 128 characters, no control characters. Used for anti-fraud and to tell payers apart. Not part of idempotency and not returned in the response. |
client_username |
string | no | The payer's login in your system. Up to 128 characters, no control characters. Not part of idempotency and not returned in the response. |
client_ip |
string | no | The payer's IP address, IPv4 or IPv6, without a port: the address the payer opened your payment page from, not your server's address. Not part of idempotency and not returned in the response. |
Example request
{
"merchant_payment_id": "order-42",
"amount": 3400,
"payment_method": "sbp",
"callback_url": "https://merchant.example/callbacks"
}
Responses¶
| Code | Meaning |
|---|---|
201 |
New payment. Usually processing with requisites; it may already be completed. |
200 |
Repeat of the same request: the stored payment in its current status. A payment for which no requisites were issued comes back as error with error_code. |
400 |
bad_request — the body is not JSON, has an unknown field or data after the object, or could not be read; invalid_payment — a field failed validation (amount, merchant_payment_id, currency, geo, method, bank, callback_url). Nothing is created; fix the request. |
401 |
token_invalid — the project token was not accepted (missing, unknown, revoked or expired, or the project is inactive); signature_invalid — the signature did not verify. |
403 |
insufficient_scope — the token lacks the scope of the method; project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
409 |
request_replayed — this X-Request-Nonce was already used: repeat with a new nonce and a new signature; payment_idempotency_conflict — the merchant_payment_id is taken by a payment with different fields. |
413 |
request_too_large — the body is larger than the project limit (64 KB by default). |
422 |
The payment cannot be processed. bank_not_found — bank_code is not a bank name from GET /api/v1/banks, or the name belongs to banks of several countries and none of them is of geo_code (nothing saved); cross_border_invalid — bank_code is a bank of another country: it is always the payer's bank of geo_code, for cross-border too (nothing saved); payment_not_covered — your contract does not cover the method, bank, intrabank transfer or amount (nothing saved); payment_rate_unavailable — no exchange rate; payment_not_routable — the payment cannot be accepted by this method right now. When the payment was saved in error, the body carries payment_id: repeating the same request returns it with 200. For a new attempt use a new merchant_payment_id. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Example response
{
"id": "3f1c2b9e-6a8d-4c4b-9a71-2c7f5d1e0a42",
"merchant_payment_id": "order-42",
"flow": "runtime_live",
"status": "processing",
"amount": 3400,
"initial_amount": 3400,
"currency": "RUB",
"geo_code": "RU",
"payment_method": "sbp",
"bank_code": "Сбер",
"is_intrabank": false,
"callback_url": "https://merchant.example/callbacks",
"is_test": false,
"merchant_information": {
"course": 100.0,
"rate": 11.0,
"amount_usdt": "34.0000",
"amount_rate": "3026.0000",
"amount_usdt_rate": "30.2600"
},
"requisite": "+79991234567",
"requisite_bank": "Сбер",
"holder_name": "Иван Петров",
"created_at": "2026-09-29T09:30:00Z",
"updated_at": "2026-09-29T09:30:01Z"
}
Read a payment¶
{{base_url}}/api/v1/payments/{id}Returns the payment of your project in the same shape as the create response. The signature is required only when the project policy has signature_required. A request whose Authorization carries no nl_live_…/nl_test_… project token gets 401 session_invalid.
Access: scope payments:read · signature if the project policy requires it
Path parameters¶
| Parameter | Type | Req. | Description |
|---|---|---|---|
id |
string, uuid | yes | Payment id returned on create. |
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Responses¶
| Code | Meaning |
|---|---|
200 |
The payment. |
401 |
token_invalid — the project token was not accepted; signature_invalid — the signature did not verify; session_invalid — Authorization has no nl_live_…/nl_test_… project token. |
403 |
insufficient_scope — the token lacks the scope of the method; project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
404 |
payment_not_found — no such payment, it belongs to another project, or id is not a UUID. |
409 |
request_replayed — this X-Request-Nonce was already used: repeat with a new nonce and a new signature. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Example response
{
"id": "3f1c2b9e-6a8d-4c4b-9a71-2c7f5d1e0a42",
"merchant_payment_id": "order-42",
"flow": "runtime_live",
"status": "processing",
"amount": 3400,
"initial_amount": 3400,
"currency": "RUB",
"geo_code": "RU",
"payment_method": "sbp",
"bank_code": "Сбер",
"is_intrabank": false,
"callback_url": "https://merchant.example/callbacks",
"is_test": false,
"merchant_information": {
"course": 100.0,
"rate": 11.0,
"amount_usdt": "34.0000",
"amount_rate": "3026.0000",
"amount_usdt_rate": "30.2600"
},
"requisite": "+79991234567",
"requisite_bank": "Сбер",
"holder_name": "Иван Петров",
"created_at": "2026-09-29T09:30:00Z",
"updated_at": "2026-09-29T09:30:01Z"
}
List disputes of a payment¶
{{base_url}}/api/v1/payments/{id}/disputesReturns disputes of your project payment, newest first: yours and corrections of the amount made by staff. The signature is required only when the project policy has signature_required.
Access: scope payments:read · signature if the project policy requires it
Path parameters¶
| Parameter | Type | Req. | Description |
|---|---|---|---|
id |
string, uuid | yes | Payment id returned on create. |
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Responses¶
| Code | Meaning |
|---|---|
200 |
Disputes of the payment. |
401 |
token_invalid — the project token was not accepted (missing, unknown, revoked or expired, or the project is inactive); signature_invalid — the signature did not verify. |
403 |
insufficient_scope — the token lacks the scope of the method; project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
404 |
payment_not_found — no such payment, it belongs to another project, or id is not a UUID. |
409 |
request_replayed — this X-Request-Nonce was already used: repeat with a new nonce and a new signature. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Example response
{
"items": [
{
"id": "7d2a0f3e-1b4c-4e8a-9f60-5c3d2e1a0b97",
"payment_id": "3f1c2b9e-6a8d-4c4b-9a71-2c7f5d1e0a42",
"status": "confirmed",
"comment": "Плательщик оплатил в 12:05, чек приложен",
"amount": 3400,
"initial_amount": 3400,
"currency": "RUB",
"created_at": "2026-10-06T12:10:00Z",
"resolved_at": "2026-10-06T12:40:00Z"
}
]
}
Open a dispute on a payment¶
{{base_url}}/api/v1/payments/{id}/disputesOpens a dispute when the payer paid but the payment is canceled or error. The receipt file is required, the comment is optional. The payment moves to appeal; staff decide the dispute, and the result arrives as the usual payment callback: completed (possibly with a corrected amount) or canceled. One open dispute per payment: a second request while one is open gets 409 payment_appeal_open. The body is multipart/form-data up to 5 MB plus 64 KB regardless of the project body limit; the signature covers the exact body bytes and is always required.
Access: scope payments:create · signature required
Path parameters¶
| Parameter | Type | Req. | Description |
|---|---|---|---|
id |
string, uuid | yes | Payment id returned on create. |
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Request body (multipart/form-data)¶
| Field | Type | Req. | Description |
|---|---|---|---|
check |
string, binary | yes | Receipt file: JPG, PNG or PDF by content, up to 5 MB. The file name is cleaned and its extension follows the content. |
comment |
string | no | Your comment, optional; spaces at the edges are trimmed. |
Responses¶
| Code | Meaning |
|---|---|
201 |
The dispute is open; the payment is in appeal. |
400 |
invalid_payment_dispute — the body is not multipart/form-data, has a field other than check and comment, repeats a field, has no check file, the file is empty or the comment is longer than 2000 characters; attachment_type_not_allowed — the file is not JPG, PNG or PDF by content. |
401 |
token_invalid — the project token was not accepted (missing, unknown, revoked or expired, or the project is inactive); signature_invalid — the signature did not verify. |
403 |
insufficient_scope — the token lacks the scope of the method; project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
404 |
payment_not_found — no such payment, it belongs to another project, or id is not a UUID. |
409 |
payment_appeal_open — the payment already has an open dispute; payment_state_conflict — the payment is not canceled or error; payment_not_delivered — no requisites were issued for the payment; payment_edit_window_expired — the payment is older than three months; payment_amount_snapshot_missing — the payment has no settlement to correct; attachment_limit_reached — the payment already has 20 files; request_replayed — the X-Request-Nonce was already used. |
413 |
request_too_large — the body is larger than 5 MB plus 64 KB, or the receipt is larger than 5 MB. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Example response
{
"id": "7d2a0f3e-1b4c-4e8a-9f60-5c3d2e1a0b97",
"payment_id": "3f1c2b9e-6a8d-4c4b-9a71-2c7f5d1e0a42",
"status": "opened",
"comment": "Плательщик оплатил в 12:05, чек приложен",
"amount": 3400,
"initial_amount": 3400,
"currency": "RUB",
"created_at": "2026-10-06T12:10:00Z",
"resolved_at": null
}
Get the payment receipt (matching)¶
{{base_url}}/api/v1/payments/{id}/receiptReturns the receipt of your project payment and its delivery to the provider. The signature is required only when the project policy has signature_required.
Access: scope payments:read · signature if the project policy requires it
Path parameters¶
| Parameter | Type | Req. | Description |
|---|---|---|---|
id |
string, uuid | yes | Payment id returned on create. |
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Responses¶
| Code | Meaning |
|---|---|
200 |
The receipt. |
401 |
token_invalid — the project token was not accepted (missing, unknown, revoked or expired, or the project is inactive); signature_invalid — the signature did not verify. |
403 |
insufficient_scope — the token lacks the scope of the method; project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
404 |
payment_not_found — no such payment in your project; payment_receipt_not_found — the payment has no receipt. |
409 |
request_replayed — this X-Request-Nonce was already used: repeat with a new nonce and a new signature. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Upload the payment receipt (matching)¶
{{base_url}}/api/v1/payments/{id}/receiptMatching methods card_matching and sbp_matching are credited by the provider only by the payer's receipt. After the transfer, upload the file confirming it; we pass it to the provider. One receipt per payment: the same file again returns the accepted receipt with 200, another file gets 409 payment_receipt_exists. The receipt changes neither the status nor the amount: the result arrives as the usual payment callback; without a receipt the provider cancels the payment on expiry. The body is multipart/form-data up to 5 MB plus 64 KB regardless of the project body limit; the signature covers the exact body bytes and is always required. Keep the receipt file within 200 KB: some providers do not accept larger files, and such a receipt does not reach the provider.
Access: scope payments:create · signature required
Path parameters¶
| Parameter | Type | Req. | Description |
|---|---|---|---|
id |
string, uuid | yes | Payment id returned on create. |
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Request body (multipart/form-data)¶
| Field | Type | Req. | Description |
|---|---|---|---|
receipt |
string, binary | yes | File confirming the transfer: JPG, PNG or PDF by content, up to 5 MB. The file name is cleaned and its extension follows the content. |
Responses¶
| Code | Meaning |
|---|---|
200 |
The same file was already accepted; the receipt is returned as is. |
201 |
The receipt is accepted and is being passed to the provider. |
400 |
invalid_payment_receipt — the body is not multipart/form-data, has no receipt file, has another field or repeats one; attachment_type_not_allowed — the file is not JPG, PNG or PDF by content. |
401 |
token_invalid — the project token was not accepted (missing, unknown, revoked or expired, or the project is inactive); signature_invalid — the signature did not verify. |
403 |
insufficient_scope — the token lacks the scope of the method; project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
404 |
payment_not_found — no such payment, it belongs to another project, or id is not a UUID. |
409 |
payment_receipt_not_allowed with reason: not_matching_method, test_payment, payment_not_processing (the payment is closed), requisites_not_issued; payment_receipt_exists — the payment has another receipt; attachment_limit_reached — the payment already has 20 files; request_replayed — the X-Request-Nonce was already used. |
413 |
request_too_large — the body is larger than 5 MB plus 64 KB, or the receipt is larger than 5 MB. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Example response
{
"payment_id": "3f1c2b9e-6a8d-4c4b-9a71-2c7f5d1e0a42",
"status": "pending",
"file_name": "чек.pdf",
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"created_at": "2026-10-21T12:10:00Z"
}
Who am I (token check)¶
{{base_url}}/api/v1/projectShows the project and merchant the token belongs to and its scopes. Handy as the first check of a key before the first payment. Needs no scope; the signature is required only when the project policy has signature_required.
Access: signature if the project policy requires it
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Responses¶
| Code | Meaning |
|---|---|
200 |
The project of the token. |
401 |
token_invalid — the project token was not accepted (missing, unknown, revoked or expired, or the project is inactive); signature_invalid — the signature did not verify. |
403 |
project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
409 |
request_replayed — this X-Request-Nonce was already used: repeat with a new nonce and a new signature. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Example response
{
"project_id": "5d7e2c1a-0b9f-4e3d-8c2b-1a0f9e8d7c6b",
"project_name": "Main site",
"merchant_id": "0b4f6a2e-3c1d-4e5f-9a8b-7c6d5e4f3a2b",
"merchant_name": "Example Shop",
"token_prefix": "nl_test_abcdef",
"scopes": [
"payments:create",
"payments:read"
]
}
Contract limits¶
{{base_url}}/api/v1/project/limitsShows which payments the active contract of your project accepts: country and its currency, payment method, payer bank, intrabank transfer and the amount range. To check a payment, take the entry with its geo_code, payment_method, is_intrabank and bank_code; if there is no entry for that bank (or the payment has no bank_code), take the entry with bank_code: null — any bank. The amount must be within the range of that entry: min_amount ≤ amount ≤ max_amount. An entry for a bank takes precedence over the null one even when its range is narrower. A method may have several entries when its amounts have gaps. Without an active contract the list is empty. A payment within these limits is accepted by the contract (otherwise 422 payment_not_covered); whether requisites are issued for it is known only from the create response. The list changes when the contract does: refresh it periodically instead of before every payment. Needs no scope; the signature is required only when the project policy has signature_required.
Access: signature if the project policy requires it
Signing headers Signature-Input, Signature, Content-Digest, X-Request-ID, X-Request-Nonce — see Request signing.
Responses¶
| Code | Meaning |
|---|---|
200 |
Limits of the active contract. |
401 |
token_invalid — the project token was not accepted (missing, unknown, revoked or expired, or the project is inactive); signature_invalid — the signature did not verify. |
403 |
project_blocked — the project API is closed by staff; ip_not_allowed — the sender address is not in the project allowlist; merchant_blocked / merchant_archived — the merchant is blocked or deleted; paygatecore_disabled — only the PayGateCore-compatible entry /api/v1/transactions/*, not enabled for the project. |
409 |
request_replayed — this X-Request-Nonce was already used: repeat with a new nonce and a new signature. |
429 |
rate_limited — over the request limit of the address or the project; too_many_concurrent_requests — too many concurrent requests of the project. Wait Retry-After seconds and repeat the same request. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
503 |
rate_limit_unavailable / replay_protection_unavailable — limit accounting or nonce checking is temporarily unavailable; the request was rejected before processing. Wait Retry-After seconds and repeat. |
Example response
{
"limits": [
{
"geo_code": "RU",
"payment_method": "card_transfer",
"currency": "RUB",
"bank_code": "Сбер",
"is_intrabank": true,
"min_amount": 500,
"max_amount": 150000
},
{
"geo_code": "RU",
"payment_method": "sbp",
"currency": "RUB",
"bank_code": null,
"is_intrabank": false,
"min_amount": 100,
"max_amount": 300000
}
]
}
List banks¶
{{base_url}}/api/v1/banksPublic directory of banks: pass a bank name as bank_code when creating a payment. No token, scope or signature is needed. The list is sorted by country, then name; the optional geo_code narrows it to one country. The same name may belong to banks of different countries: the payment's geo_code tells them apart. Whether the contract of your project accepts the bank and whether requisites are issued is known only from the create response. The list changes rarely: refresh it periodically instead of before every payment; the response may be cached for 5 minutes.
Access: signature if the project policy requires it
Query parameters¶
| Parameter | Type | Req. | Description |
|---|---|---|---|
geo_code |
string | no | Country, two letters (ISO 3166-1), any case. Omitted — all countries. |
Responses¶
| Code | Meaning |
|---|---|
200 |
The bank directory. |
400 |
invalid_geo_code — geo_code is not two Latin letters. |
500 |
internal_error — a failure on the API side. Repeat with a growing pause; for a payment keep the same merchant_payment_id. |
Example response