πŸ”€Send a Payout

Send customers or clients crypto from your balance. Send a single crypto, or multiple, using the Payouts Dashboard or via API.

Send a Payout via API

Prerequisites

  • Access granted by the Swapped team.

  • Generate an API Key with private key signing capabilities, learn more about Client Key API Access.

Payout Balances

Payouts assume that you have the necessary balance of the relevant crypto tokens to disburse. You can swap to the relevant cryptocurrency from the Swapped Commerce > Balances dashboard.

Examples

Sample single crypto payout:

POST https://pay-api.swapped.com/v1/payouts

sample data:

{
  payouts: [
    {
      chain: "polygon",
      currency: "USDT",
      amount: "250.00",
      memo: "", // optional
      address: "0x0123456789..."
      customerName: "John Doe",
      customerEmail: "[email protected]"
      // Optional 
      kyc: {
        addressLine1: "2200 Pioneer Ave",
        addressLine2: "",
        city: "Cheyenne",
        country: "US", // 2-digit country codes
        postalCode: "82001",
        region: "WY",
        taxId: "0102030405"
      }
    }
  ]
}

sample response:

{
  "success": true,
  "message": "success",
  "data": {
    "payoutGroupId": "15a139b6-7237-2be1-845a-f271dd0200a6",
    "payouts": [
      {
        "payoutId": "fa10a2ex-2de1-4b76-95c9-4bd2d88fff25",
        "settlementId": "12991754-abl2-4152-ac25-914fwe1344fo"
      }
    ]
  }
}

Sample multi-crypto payout:

Create payouts

post
Authorizations
X-API-KeystringRequired
Body
Responses
200

Successful

*/*
post
/v1/payouts
200

Successful

Notes

Last updated