Create a Channel
You can create a channel with the following request:
curl -X POST \
https://sandbox-api-processing.munzen.io/api/v1/merchant/channels \
-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":"USDTERC20", "customer_external_id":"9e27ab1c-a8ed-4e89-bf3e-b27330dfe238", "timestamp": 1681897688}'
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
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": "018819fd-2fe3-720c-a649-1ce8ee729d63",
"currency": "USDTERC20",
"address": "0xa8c09fcf971b76524f3703a4280a8bb548fb2896",
"address_tag": "pVc20",
"created_at": "2023-05-14T11:20:03.000000Z"
},
"error": null
}
Since the channel is created you can send any amount of USDT tokens to the destination address: 0xa8c09fcf971b76524f3703a4280a8bb548fb2896
. After confirmation of the deposit, we will send you a webhook with the following data:
// TBD
Last updated