Testing
Ask your manager to enable test mode on a terminal. On a test terminal payments are not processed and the balance does not change: you create a payment as usual (POST /v1/payments), and its status then changes by itself depending on the amount. Each next status arrives in about 10 seconds, with a webhook for every change.
| Amount | What happens |
|---|---|
10001 | PENDING → COMPLETED |
10002 | PENDING → CANCELLED → DISPUTE → COMPLETED_APPEAL |
10003 | PENDING → CANCELLED |
10004 | PENDING → CANCELLED → DISPUTE → CANCELLED_APPEAL |
10005 | PENDING → COMPLETED, paid 9000 (paid_amount, amount in the webhook) |
10006 | PAY_004 error on creation |
10007 | PENDING → CANCELLED → DISPUTE → COMPLETED_APPEAL, paid 9000 |
10008 | Receipt (BT PDF): waits for your receipt — /receipt or receipt_url in /confirm, then COMPLETED |
10009 | Receipt (BT PDF): waits for your receipt, then CANCELLED (receipt rejected) |
| any other | PENDING until it expires (CANCELLED), or your own cancel / dispute requests |
Without a receipt, 10008/10009 stay PENDING until they expire (CANCELLED). Requisites in the response are fake — do not pay them. Webhooks are signed the same way as in production. Use a live terminal for real traffic.