sberpay/push
sberpay/push
Use this method to send PUSH/SMS notifications to customers for SberPay transactions.
It is up to Sber to choose whether to send a PUSH or SMS notification.
Endpoint
/api/v1/sberpay/push
Request parameters
Name | Mandatory | Type | Description |
---|---|---|---|
session_id | + | string | Session ID |
phone | + | string | Phone number to send PUSH or SMS to |
Request example
curl -X GET \
https://demo.smart-glocal.com/api/v1/sberpay/push' \
-H 'X-PARTNER-SIGN: signature' \
-H 'X-PARTNER-PROJECT: your_project_name' \
-H 'Content-Type: application/json' \
-d '{
"session_id": "ps_75459435",
"phone": "+79111234567"
} '
Response parameters
Name | Mandatory | Type | Description |
---|---|---|---|
status | + | string | Status. Options: error , ok |
error | - | object | Error description |
Response example
{
"status": "ok"
}