v1

latestOpenAPI 3.0.02026-07-14664396.8 KB
OFFRAMP

Create Offramp Transaction

Creates a new offramp transaction that converts crypto into fiat.

post/offramp

Headers

api-keystring
Example:alfredpay.T+QdhCoMofy8.gGKO5KdB7M+B/9jLFef

API Key for service authentication (alternative to JWT Bearer token). Optional.

api-secretstring
Example:PwF+cDGZd37eHYZ.CVvF1/zbHCBosSo1

API Secret for service authentication (alternative to JWT Bearer token). Optional.

Request body

customerIdstring required
quoteIdstring required
fiatAccountIdstring required
fromCurrency'HK_USD' | 'GTQ' | 'HKD' | 'USDC' | 'MXN' | 'ARS' | 'BRL' | 'USDT' | 'COP' | 'USD' | 'DOP' | 'CNY' | 'BOB' | 'CLP' | 'PEN' | 'PYG' required

Description of the fromCurrency property

toCurrency'HK_USD' | 'GTQ' | 'HKD' | 'USDC' | 'MXN' | 'ARS' | 'BRL' | 'USDT' | 'COP' | 'USD' | 'DOP' | 'CNY' | 'BOB' | 'CLP' | 'PEN' | 'PYG' required

Description of the toCurrency property

amountstring required
chain'ETH' | 'MATIC' | 'XLM' | 'OP' | 'ARB' | 'BASE' | 'TRX' | 'SOL' | 'CELO' | 'AVAX' | 'BNB' required

description of the chain property

memostring
originAddressstring
externalIdstring

External identifier

metadataobject