Skip to main content

Create S2P withdraw

POST 

/merchant-api/v1/withdraw/s2p/create

This method is creating S2P withdraw

Request

Body

required

The description for the Post Body.

    amount numberrequired

    Amount of money to withdraw

    gate_id string

    Id of the gate used for transaction

    comment stringrequired

    Comment for withdraw

    external_id stringrequired

    Client order number, must be unique for the merchant`

    currency_id stringrequired

    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

    callback_url string

    URL address to which the transaction status notification will be sent

    bank_name stringrequired

    Name of the bank

    first_name stringrequired

    Receiver name

    last_name stringrequired

    Receiver last_name

    email stringrequired

    Receiver email

    account_type stringrequired

    Beneficiary account type (savings, current, vista, rut, etc)

    account_number stringrequired

    Account ID

    cci_number stringrequired

    Interbank Account ID (Peru only)

    identity_document_country stringrequired

    2-character code of the country of issue of the identity document

    identity_document_type stringrequired

    Type of identity document

    identity_document_identifier stringrequired

    Identification document number

    department stringrequired

    Department in the country of issue of the document

    client_ip string

    Payer's ip address

Responses

The withdraw has been successfully created.

Schema

    transaction_uid stringrequired

    Unique id of the withdraw

    amount stringrequired

    Amount of money to withdraw

    status stringrequired

    Possible values: [Created, Pending, Failed, Succeed]

    Current status of the withdraw

    currency_id stringrequired

    Currency of the withdraw

    comment stringrequired

    the description of the withdraw

    external_id stringrequired

    Client order number, must be unique for the merchant`

    created_at stringrequired

    Time stamp of the withdraw creation

Loading...