Create S2P withdraw
POST/merchant-api/v1/withdraw/s2p/create
This method is creating S2P withdraw
Request
- application/json
Body
required
The description for the Post Body.
Amount of money to withdraw
Id of the gate used for transaction
Comment for withdraw
Client order number, must be unique for the merchant`
Possible values: [USD, EGP, RUB, KZT, EUR, UAH, MXN, INR, TRY, UZS, AZN, MDL, VND, KRW, AED, IDR, PKR, PEN, CLP, MAD, BYN, COP, NGN, ZAR, SAR, XOF, CAD, AUD, GBP, PLN, NZD, NOK, DKK, SEK, HUF, PHP, TJS, RSD]
Currency of the withdraw
URL address to which the transaction status notification will be sent
Name of the bank
Receiver name
Receiver last_name
Receiver email
Beneficiary account type (savings, current, vista, rut, etc)
Account ID
Interbank Account ID (Peru only)
2-character code of the country of issue of the identity document
Type of identity document
Identification document number
Department in the country of issue of the document
Payer's ip address
Responses
- 201
The withdraw has been successfully created.
- application/json
- Schema
- Example (from schema)
Schema
Unique id of the withdraw
Amount of money to withdraw
Possible values: [Created, Pending, Failed, Succeed]
Current status of the withdraw
Currency of the withdraw
the description of the withdraw
Client order number, must be unique for the merchant`
Time stamp of the withdraw creation
{
"transaction_uid": "6f15174c-241a-41d9-91be-001454f9c13b",
"amount": "3",
"status": "Created",
"currency_id": "RUB",
"comment": "My first withdraw",
"external_id": "h2gH123",
"created_at": "2022-09-15T07:26:13.893Z"
}