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

Create a Payout

PreviousWhat is PayoutsNextPayout Statuses

Last updated 1 year ago

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

Payouts have amount limitations, check it here: Currencies, Confirmations, and Limits

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