Skip to main content

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.

AmountWhat happens
10001PENDING → COMPLETED
10002PENDING → CANCELLED → DISPUTE → COMPLETED_APPEAL
10003PENDING → CANCELLED
10004PENDING → CANCELLED → DISPUTE → CANCELLED_APPEAL
10005PENDING → COMPLETED, paid 9000 (paid_amount, amount in the webhook)
10006PAY_004 error on creation
10007PENDING → CANCELLED → DISPUTE → COMPLETED_APPEAL, paid 9000
10008Receipt (BT PDF): waits for your receipt — /receipt or receipt_url in /confirm, then COMPLETED
10009Receipt (BT PDF): waits for your receipt, then CANCELLED (receipt rejected)
any otherPENDING 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.