Create Payout in Crypto
This endpoint creates a crypto payout transaction, allowing the user to send cryptocurrency to another wallet or address.
Endpoint
POST {{baseURL}}/v1/ramp/payout
Headers
Header | Value | Required |
---|---|---|
x-api-key | YOUR_API_KEY | Yes |
Example Request
cURL
curl --location '{{baseURL}}/v1/ramp/payout' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"recipient": {
"symbol": "POL",
"blockchain": "ETH",
"address": "<id>",
"alias": ""
},
"quoteId": "<quoteId>",
"reason": "",
"remark": ""
}'
Successful Response 200 OK
{
"message": "transaction created successfully",
"status": "success",
"data": {
"id": "bc1ac02d-2b9c-435f-9b7a-xxxxxxxxxxxxx",
"referenceNumber": "XYORKSXAXXXXX",
"state": "PENDING",
"created": "2023-05-05T13:21:54.197217",
"processed": "2023-05-05T13:21:54.197217"
}
}
Status Code | Message |
---|---|
400 | Bad request โ invalid or missing fields |
401 | Unauthorized โ invalid API key or token |
500 | Internal server error |