Münzen API
  • Home
  • Getting Started
  • API Overview
    • API Reference
    • API Requests
    • API Authentication
    • Environments
    • Errors
    • Callbacks (Webhooks)
    • Currencies, Confirmations, and Limits
    • How to accept crypto payments
    • Proof of Funds
    • AML & Compliance Checks
  • Testing
    • How to check integration
  • Invoices
    • What is Invoices
    • Create an Invoice
    • Invoice Statuses
    • Invoice Callbacks
  • Channels
    • What is Channels
    • Create a Channel
    • Channel Payment Statuses
    • Channel Callbacks
  • Payment Widget
    • What is Payment Widget
    • Integration Guide for Payment Widget
      • Params for Channel Widget
  • Payouts
    • What is Payouts
    • Create a Payout
    • Payout Statuses
    • Payout Callbacks
  • Useful Information
    • Testnet Faucets
Powered by GitBook
On this page
  1. Channels

Create a Channel

PreviousWhat is ChannelsNextChannel Payment Statuses

Last updated 2 years ago

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 section.

There are a few required params in this endpoint:

  • currency

  • customer_external_id

You can check all available parameters and their descriptions in .

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
API Authentication
API Reference