Payments

Crypto Payments API

Accept cryptocurrency payments, create crypto payment links, and process crypto exchanges.

Crypto Exchange/On-Ramp (Production)

POST
ProductionAPI Key

Processes crypto exchange or on-ramp transaction.

Request Body
json
{
  "orderId": "ORD-12345",
  "amount": 100.50,
  "currency": "USD",
  "merchantProfileId": 1,
  "cryptoCurrency": "BTC",
  "webhookUrl": "https://your-domain.com/webhook"
}

Crypto Exchange (Sandbox)

POST
SandboxAPI Key

Processes crypto exchange in sandbox mode for testing.

Same request body as production endpoint.

Request Body
json
{
  "orderId": "ORD-12345",
  "amount": 100.50,
  "currency": "USD",
  "merchantProfileId": 1,
  "cryptoCurrency": "BTC",
  "webhookUrl": "https://your-domain.com/webhook"
}

Crypto Payin (Production)

POST
ProductionAPI Key

Processes crypto payin transaction.

Request Body
json
{
  "orderId": "ORD-12345",
  "amount": 100.50,
  "currency": "USD",
  "merchantProfileId": 1,
  "cryptoCurrency": "BTC",
  "webhookUrl": "https://your-domain.com/webhook"
}

Crypto Payin (Sandbox)

POST
SandboxAPI Key

Processes crypto payin in sandbox mode for testing.

Same request body as production endpoint.

Get Crypto Currencies

POST
ProductionAPI Key

Returns list of supported cryptocurrencies.

Success Response

200
json
{
  "success": true,
  "data": {
    "currencies": [
      {
        "code": "BTC",
        "name": "Bitcoin",
        "symbol": "₿",
        "minAmount": 0.0001
      },
      {
        "code": "ETH",
        "name": "Ethereum",
        "symbol": "Ξ",
        "minAmount": 0.001
      }
    ]
  }
}