Send sms
POST api/v2/paygate/payment/card-send-sms-code/
Send sms code payment
If the payment received the approved_status=need_3ds, you need to send an SMS.
Request Body schema
application/json
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| tx | string |
Yes | Transaction id | "f17d7f5c-6b4a-47fd-95eb-08086e250473" |
| code | string | Yes | Sms code | "12345" |
Request sample
{
"tx": "f17d7f5c-6b4a-47fd-95eb-08086e250473",
"code": "12345"
}
Response sample
STATUS 201
{
"redirect_url": "http://example.com",
"info": {
"tx": "f17d7f5c-6b4a-47fd-95eb-08086e250473",
"payout": {
},
"status": "create",
"currency": {
"id": 0,
"title": "AZN",
"char_code": "AZN",
"num_code": 944
},
"amount": 1000,
"created_at": "2000-01-01T00:00:00Z",
"errors": {},
"parts_tx": [],
"additional_data": {},
"endpoint_logo": "string"
}
}