Create a Channel
curl -X POST \
https://business-sandbox.cryptopay.me/api/channels \
-H 'Authorization: HMAC ***' \
-H 'Content-Type: application/json' \
-H 'Date: Tue, 19 Mar 2019 10:11:40 GMT' \
-d '{"pay_currency":"BTC", "network":"bitcoin", "receiver_currency":"EUR", "name":"channel name", "custom_id":"631044494"}'{
"customer_id": "e7bb04fb-7f33-4729-819e-05a92761b492",
"id": "50eb5775-f77e-4c64-870b-dc93624b5967",
"name": "channel name",
"description": "channel description",
"receiver_currency": "EUR",
"pay_currency": "BTC",
"address": "2N9uVK2MDFNgBVqPnvCTV66Dinx3cp5J7S4",
"network": "bitcoin",
"project_id": "25632c89-7f40-4693-8ed0-99bf5f79d3a6",
"custom_id": "631044494",
"uri": "bitcoin:2N9uVK2MDFNgBVqPnvCTV66Dinx3cp5J7S4",
"hosted_page_url": "https://business-hosted.cryptopay.me/channels/50eb5775-f77e-4c64-870b-dc93624b5967"
}
Last updated