PayOut Process
PayOut is a system designed for converting cryptocurrency into fiat currency and transferring it to a bank card.
The withdrawal process is organized through several steps, each represented by a specific API endpoint.
Step 1: Adding a new card
The user initiates the PayOut process by sending a request to POST /v4/payout/card to add a new card.
The request body includes essential details such as the card number, cardholder's name, and expiration date.
The system processes the request and returns confirmation (200 OK) upon successful addition of the new card.
Step 2: Retrieving available rates and card data
The user sends a request to GET /v4/payout/data to obtain information about available rates and cards.
The system returns information about user cards, currency pairs, exchange rates, and transaction fees.
Step 3: Creating a payout offer
The user creates a payout offer by sending a request to POST /v4/payout/offer with details such as the amount, source currency, target currency, and card ID.
The system returns detailed information about the created offer, including fees, exchange rates, and execution possibilities.
Step 4: Updating a payout offer
If necessary, the user updates an existing payout offer by sending a request to PUT /v4/payout/offer/{offerId} with changes, specifying the offerId.
The system returns detailed information about the updated offer, including modified fees, exchange rates, and execution possibilities.
Step 5: Executing a payout offer
The user executes a payout offer by sending a request to POST /v4/payout/pay/{offerId} with the offer identifier, specifying offerId.
The system processes the payout transaction and returns the execution status.
The response provides details of the completed transaction, including deducted and received amounts, source and target currencies, as well as the transaction status.
Updated 7 months ago