Testing
Before performing operations with real money, you need to test everything in the test environment. The interaction format and the way you make requests are the same as when working with actual data.
The only two things that are different are the server address to send requests to, and the Bank 131 key to use.
Server address for test operations
https://demo.bank131.ru
Bank 131's public key for test requests
Data for test operations
Bank cards
During testing, use at least one 3D Secure card and at least one without 3D Secure.
With 3D Secure
- 2200774546102058
- 4000000000000002
- 5500000000000004
Without 3D Secure
- 4242424242424242
- 5101180000000007
QIWI Wallet
Any value
YooMoney wallet (ex Yandex.Money)
Any wallet number: 11 to 12 digits. The payout will be successful.
Bank account
Any value
Testing unsuccessful operations
By default, all operations are successful. To test an unsuccessful scenario, in your request's Customer
object, in the customer.reference
field, pass one of the following values.
Value | Result |
---|---|
thief | Only for payments. The payment will be cancelled when money is put on hold |
loser | For payments and payouts. The payment will be cancelled when the funds on hold are debited; the payment will result in an error |
Testing out linking of the self-employed to the Bank 131
To know how to test out linking of the self-employed, please refer here.