SberPay
RC Integration option
Info
This integration option supports RUB and KGS currencies.
Payment
Payment flow
- The customer initiates the payment on the merchant's website.
- The merchant sends the payment request to 2can.
- 2can returns a URL to the page to which the customer needs to be redirected.
- The merchant redirects the customer to the received payment page URL.
- The link displays the QR code. The customer scans the QR code and completes the payment in the bank application within 10 minutes.
- 2can sends a webhook notification to the merchant. The merchant may also request the payment status from 2can with the status query.
- The merchant displays the payment status to the customer.
Request
Send a payment request with the following additional data:
|
|||||||||||||||||||||||||||||
Request example
{
"request": {
"amount": 200,
"currency": "RUB",
"description": "description",
"return_url": "https://your_return_url.com",
"method": {
"type": "sber_pay_redirect"
},
"customer": {
"first_name": "John",
"middle_name": "Robert",
"last_name": "Doe",
"external_id": "r123",
"phone": "+79123456789",
"email": "email.name@example.com"
}
}
}
Response
Redirect your customer to the URL received as the value of the form.action parameter.
Response example
{
"transaction": {
"uid": "ddf47302-ae89-457b-9b88-d6f59cb2419e",
"type": "payment",
"status": "pending",
"amount": 200,
"currency": "RUB",
"description": "description",
"created_at": "2026-03-06T08:13:49Z",
"updated_at": "2026-03-06T08:13:50Z",
"method_type": "sber_pay_redirect",
"receipt_url": "https://ecom-backoffice.2can.ru/customer/transactions/ddf47302-ae89-457b-9b88-d6f59cb2419e/8f87708c32b7589aaec6486e8a644d77d1761baed9bb8c1360ee51671a85c953",
"payment": {
"status": "pending",
"gateway_id": 6275,
"ref_id": "54718",
"message": "Transaction was initialized."
},
"sber_pay_redirect": {
"type": "sber_pay_redirect"
},
"customer": {
"email": "email.name@example.com",
"phone": "+79123456789",
"last_name": "Doe",
"first_name": "John",
"external_id": "r123",
"middle_name": "Robert",
"ip": null
},
"manually_corrected_at": null,
"version": 1,
"message": "Transaction was initialized.",
"test": false,
"billing_address": {
"email": "email.name@example.com",
"phone": "+00123456789",
"last_name": "Doe",
"first_name": "John",
"middle_name": "Robert"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"smart_routing_verification": {
"status": "successful"
},
"gateway": {
"iframe": true
},
"form": {
"action": "link-to-payment-page-with-qr-code",
"fields": [],
"method": "GET"
}
}
}