Skip to main content
POST
Create off-ramp transaction

Authorizations

Authorization
string
header
required

API key for /api/v1/* endpoints

Body

application/json
crypto_asset
enum<string>
required

Cryptocurrency asset to sell

Available options:
BTC,
TRX,
BNB,
TON,
USDT,
ETH,
USDC,
SOL
crypto_amount
number
required

Cryptocurrency amount to sell

Required range: x >= 1e-8
Example:

10

recipient_id
string
required

CC recipient ID for the bank account to receive NGN payout.

Example:

"rec_6a0ce75269321c4cb5eafe7d"

metadata
object

Additional metadata

Example:

Response

Off-ramp transaction created successfully.

id
string
required
business_id
string
required
mode
object
required
cc_swap_id
string
required
from_currency
string
required
to_currency
string
required
source_amount
number
required
target_amount
number | null
required
status
enum<string>
required
Available options:
pending,
completed,
failed
type
enum<string>
required
Available options:
manual,
offramp
metadata
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
business
object
required