Generating the Payment Form (Make Withdrawal Form)

Request Parameters

  • currency: Withdrawal currency.

  • amount : Withdrawal amount.

  • description payment: Payment description.

  • order_id: Unique order identifier.

  • `callback_url : Callback URL for receiving notifications about the operation status.

  • phone: Customer's phone number.

  • receiver: Receiver's details.

  • receiver_name: Receiver's name.

  • receiver_city: Receiver's city.

  • receiver_country: Receiver's country (ISO 3166-1 Alpha2 country format)

  • receiver_birthday: Receiver's date of birth.

  • card_expire: Receiver's card expiration date.

  • Payment Method: The selected payment method, in this case, a card payment Example :

{
    "currency": "EUR",
    "amount": 1,
    "description": "payment",
    "order_id": "5_32",
    "callback_url": "https://webhook.site/Qa41d19f-01a3-4907-8820-f0a63e8f2af6",
    "phone": "+384322342456",
    "receiver": "5354562706357225",
    "receiver_name": "Human People",
    "receiver_city": "Warsaw",
    "receiver_country": "PL",
    "receiver_birthday": "2019-09-21",
    "card_expire": "03/25"
}

I

Creating a Withdrawal Form

Request

  • Method: POST

  • URL: {{base_url}}/api/external/v1/fiat-gateway/mercuryo/make-withdraw-form

The client initiates a POST request to create a withdrawal form. In response, the client receives information about the operation status and a unique operation identifier.

Response

{
    "success": true,
    "status": null,
    "response": {
        "uid": "1bf41848-1785-4142-a98e-3482b1497b03",
        "status": "PENDING"
    },
    "errors": null
}

These documents provide an overview of the processes for generating a payment form and a withdrawal form through the API. Please refer to them when working with these functions. If you have any questions or need additional information, feel free to contact our support team.

Last updated