Crypto Transfer

Send cryptocurrency from your IvoryPay business wallet to any external blockchain address.

Base path: /v1/crypto-transfer Authentication: API Key (Authorization: <secret-key>)


Endpoints

Method
Path
Description

POST

/v1/crypto-transfer

Initiate a crypto transfer

GET

/v1/crypto-transfer/:token/networks

Get supported networks for a token

GET

/v1/crypto-transfer/supported/network-tokens

List all supported tokens & networks


POST /v1/crypto-transfer

Initiates an on-chain crypto transfer from your business wallet to a recipient address.

Request

Headers

Authorization: <your-secret-api-key>
Content-Type: application/json

Body

{
  "network": "BSC_TESTNET",
  "address": "0xRecipientWalletAddress",
  "amount": 10.5,
  "token": "USDT",
  "reference": "550e8400-e29b-41d4-a716-446655440000"
}
Field
Type
Required
Description

network

string

Yes

Blockchain network. See supported networks.

address

string

Yes

Recipient's blockchain wallet address.

amount

number

Yes

Amount to send in the specified token. Must be a positive number.

token

string

Yes

Cryptocurrency token to send. See supported tokens.

reference

string

Yes

Your unique identifier for this transfer. Used for idempotency and tracking.

Response

Error Responses

Status
Message
Cause

400

Insufficient balance

Wallet balance too low

400

network chain must be one of ...

Invalid network value

400

token must be one of ...

Invalid token value

401

Unauthorized

Missing or invalid API key


GET /v1/crypto-transfer/:token/networks

Returns the list of blockchain networks available for a specific token in your current environment.

Request

Headers

Path Parameters

Parameter
Type
Description

token

string

Token symbol (e.g. USDT, USDC, BTC)

Example

Response


GET /v1/crypto-transfer/supported/network-tokens

Returns all tokens and their associated blockchain networks that your business can send from. This reflects your business's currently enabled tokens.

Request

Headers

Response


Supported Values

token

Value
Name

USDT

Tether USD

USDC

USD Coin

BTC

Bitcoin

ETH

Ethereum

SOL

Solana

network

Value
Chain

BSC_TESTNET

BNB Smart Chain

MAINNET

Ethereum

POLYGON

Polygon

SOLANA

Solana

BITCOIN

Bitcoin

Use GET /v1/crypto-transfer/supported/network-tokens to see the exact tokens and networks enabled for your account.


Transfer Lifecycle

Status
Description

PENDING

Transfer created, waiting to be sent to the blockchain

PROCESSING

Broadcast to the blockchain, awaiting confirmation

SUCCESS

Confirmed on-chain, wallet debited

FAILED

Transfer failed — no funds deducted

Subscribe to webhook events to receive real-time status updates.


Code Examples

Node.js

cURL

Python

Last updated