Create a Payout
You can create a payout with the following request:
curl -X POST \
https://sandbox-api-processing.munzen.io/api/v1/merchant/payouts/request \
-H 'X-Munzen-Key: {API_KEY}' \
-H 'X-Munzen-Signature: {SIGNATURE}' \
-H 'Content-Type: application/json' \
-H 'Date: Tue, 2 Feb 2023 01:23:45 GMT' \
-d '{"currency":"USDTMATIC","amount":300,"customer_external_id":"[email protected]","address":"0xf86EA2d5849b4282d27FBC4A22F596F51b31AAA0","timestamp":1689167323}'
Do not forget to set your {API_KEY}
and {SIGNATURE}
. You can read more about how to sign API requests in API Authentication section.
There are a few required params in this endpoint:
currency
customer_external_id
amount
address
You can check all available parameters and their descriptions in API Reference.
Response
You will receive a response with a new channel object like this:
{
"data": {
"id": "01894a4e-d138-723a-835f-cec13d63b763",
"amount_requested": 5,
"amount_to_send": 4.949961,
"fee_amount": 0.050039,
"status": "pending",
"status_reason": null,
"currency": "USDTMATIC"
},
"error": null
}
Last updated