Skip to content

Testing

Use test data on the KVELL test environment (Stage) to reproduce successful, declined, and pending operations.

Shop setup

Payment and payout behavior on the test environment depends on the shop's settings and connected payment profiles. A shop can be connected to the KVELL mock bank or to a partner bank's test environment. To connect the right bank and get the appropriate test data, check the details with KVELL support.

Payouts to a card

Below is test data for the KVELL mock bank. Pass the card number in the recipient_pan field without spaces or separators.

Scenario recipient_pan Expected statuses
Successful payout Any number that passes the Luhn algorithm check. For example, 4111111111111111 completed
Declined payout 5555555555555599 canceled
Payout completes successfully after processing 2201382000000021 processingcompleted
Payout is declined after processing 2201382000000039 processingcanceled

SBP payouts

Below is test data for the KVELL mock bank. Pass the phone number in 11-digit format: without +, spaces, or separators. For each scenario you can choose any bank from the test list — the chosen bank does not affect the mock result.

Connecting a partner bank

A partner bank can be connected to a shop for SBP payouts. In that case, payouts are live, even if requests are sent from the test environment: the operation can result in an actual money transfer. Before testing, check the shop's settings and permitted details with KVELL support.

Payout feasibility check

Call the payout feasibility check, then retrieve its status. In successful scenarios, use the returned fio_nspk and nspk_id when creating the payout.

Phone number Check status fio_nspk nspk_id error_message
79999999999 success Иванов Иван Иванович NSPK123456 Empty string
79998888888 success Дромашко Константин Сергеевич NSPK012345 Empty string
79991111111 success Петров Петр Петрович NSPK654321 Empty string
79990000000 error null null Не найден получатель ("Recipient not found")
Any other number success Сидоров Сидр Сидорович NSPK000000 Empty string

Payout result

Scenario Phone number Expected statuses
Successful payout 79999999999, 79998888888, or any other number completed
Declined payout 79991111111 canceled
Recipient not found 79990000000 canceled

Payouts to a bank account

Below are the recipient's bank details for a payout to a bank account via an Alfa-Bank nominal account.

Parameter Value
payee_name Общество с ограниченной ответственностью "Центр "ИННОВАЦИЯ"
payee_inn 7723870785
payee_kpp 553453453
payee_account 40702810564564564531
payee_bank_bic 040173745 or 044525593
payee_bank_corr_account 30101810800000000745
description Оплата заказа №1. НДС не облагается
amount Any amount
transaction A new unique value for each request
Scenario Expected statuses
Successful payout processingcompleted

Bank sandbox specifics

The payout does not switch to completed immediately after the order is executed: the recipient's bank may return the payment, so KVELL confirms success after a control period. For more details, see «Payout statuses».

Card payments

The result depends on the payment profile connected to the shop.

KVELL mock bank

The KVELL mock bank successfully processes a payment for any card that passes general validation.

Card number Expiration date CVV Result
Any 12-to-19-digit number that passes the Luhn algorithm, for example 4111111111111111 Any, for example 2034-12 Any, for example 123 Success

Partner bank

For cards, specify the cardholder name IVANOV IVAN. The 3-D Secure password is 12345678.

3DS 1.0 cards

Card number Expiration date CVV 3-D Secure Result
4111111111111111 2034-12 123 3DS 1.0 Success
5555555555555599 2034-12 123 None Failure
639002000000000003 2034-12 123 3DS 1.0 Success
5555555555555557 2034-12 123 3DS 1.0 Failure
4444333322221111 2034-12 123 3DS 1.0 Failure
5555555544444442 2034-12 123 3DS 1.0 Failure
5432543254325430 2034-12 521 3DS 1.0 Failure

3DS 2.0 cards

Card number Expiration date CVV Scenario Result
2201382000000021 2034-12 123 Full 3DS Success
2201382000000039 2034-12 123 Full 3DS Success
2201382000000013 2034-12 123 Full 3DS Success
2201382000000047 2034-12 123 Full 3DS Success
2201382000000054 2034-12 123 Full 3DS Success
2200000000000053 2034-12 123 Full 3DS Success
2201382000000062 2034-12 123 Frictionless Flow Success

Payment errors

Card number Expiration date CVV Result
4444444444444422 2034-12 123 Invalid message format, code 913
4444444411111111 2034-12 123 Operation declined by the network, code 5
4444444499999999 2034-12 123 3-D Secure connection error, code 151017
4444444444443333 2034-12 123 Limit exceeded, code 123
4444444444444455 2034-12 123 Card restrictions exceeded, code 902

SBP payments

Payment via SBP is available within the partner bank's test environment. The result is determined by the order amount; no real banking app is required to go through the scenario. This rule applies to all SBP payments regardless of integration method: via the payment page or the SBP API.

  1. Create a payment via the payment page or the SBP API.
  2. When using the payment page, select payment via SBP. When using the API, open the returned form_url.
  3. Wait for the QR code to appear.
  4. After a few seconds, the payment result will appear on the screen.
Order amount Result
Less than 500 ₽ (amount < 50000) Payment succeeds
More than 500 ₽ (amount > 50000) Payment fails