Off Ramp

Off-ramp

Get best offer

get
/api/offramp/best-offer

Returns the best offer for the provided country, network, asset, amount and payment channel.

Authorizations
x-client-idstringRequired

Your client ID

Query parameters
amountnumberRequired

Amount of usd user wants to pay or amount of local currency user wants to receive depending on the currency param value

currencystring · enumRequired

Currency of the amount param

Possible values:
countryIsoCodestringRequired

country ISO code, for example KE for Kenya, NG for Nigeria

paymentChannelstring · enumRequired

type of the payment channel user wants to use, e.g. bank, mobile_money, airtime to receive local currency

Possible values:
networkstring · enumRequiredPossible values:
assetstring · enumRequiredPossible values:
Responses
chevron-right
200

Successful response

application/json
quoteIdstringOptional

Unique quote id

get
/api/offramp/best-offer
200

Successful response

Get payment channels list

get
/api/offramp/payment-channels

Returns a list of supported countries and their payment channels

Authorizations
x-client-idstringRequired

Your client ID

Responses
chevron-right
200

Successful response

application/json
countryIsoCodestringOptional

ISO code of the country, e.g. NG for Nigeria, KE for Kenya

currencyIsoCodestringOptional

ISO code of the local currency, e.g. NGN for Nigerian Naira, KES for Kenyan Shilling

namestringOptional

Name of the country, e.g. Nigeria, Kenya

get
/api/offramp/payment-channels
200

Successful response

Get off-ramp limits

get
/api/offramp/limits

Returns minimum and maximum amount of order in USD and local currency with applied fees for specific payment channel, country, network and asset.

Authorizations
x-client-idstringRequired

Your client ID

Query parameters
paymentChannelstring · enumRequired

payment channel type

Possible values:
countryIsoCodestringRequired

country ISO code

networkstring · enumRequiredPossible values:
assetstring · enumRequiredPossible values:
Responses
chevron-right
200

Successful response

application/json
minUsdnumberOptional
maxUsdnumberOptional
minLocalCurrencynumberOptional
maxLocalCurrencynumberOptional
get
/api/offramp/limits
200

Successful response

Get supported blockchain assets

get
/api/offramp/assets

Returns a list of supported wallet networks and their assets for crypto wallet orders

Authorizations
x-client-idstringRequired

Your client ID

Responses
chevron-right
200

A list of supported wallet networks and their assets

application/json
networkstring · enumOptionalPossible values:
assetstring · enumOptionalPossible values:
get
/api/offramp/assets
200

A list of supported wallet networks and their assets

Get off-ramp order

get
/api/offramp/order/{id}

Returns a single order by its ID.

Authorizations
x-client-idstringRequired

Your client ID

Path parameters
idstringRequired

ID of the off-ramp order

Responses
chevron-right
200

Successful response

application/json
_idstringOptional

Unique identifier of the off-ramp order

networkstring · enumOptional

Blockchain network of the off-ramp order, e.g. AVALANCHE, POLYGON, CELO, ETHEREUM

Possible values:
assetstring · enumOptional

Blockchain asset of the off-ramp order, e.g. USDC, USDT, CUSD, CKES

Possible values:
exchangeRatenumberOptional

Exchange rate for the off-ramp order

fromAddressstringOptional

User wallet address from which the off-ramp order was initiated

toAddressstringOptional

The wallet address to which the crypto was sent

statusstring · enumOptional

Status of the off-ramp order

Possible values:
createdAtstring · date-timeOptional

Date and time when the off-ramp order was created

expiresAtstring · date-timeOptional

Date and time when the off-ramp order expires if it is not paid in time

hashstringOptional

Transaction hash if available

requiredFieldsobjectOptional

Fields that were provided by the user

countryIsoCodestringOptional

Country ISO code, e.g. NG for Nigeria, KE for Kenya

userPhoneNumberstringOptional

Phone number of the user, should include country code

userEmailstringOptional

Email address of the user

currencyIsoCodestringOptional

Local currency ISO code, e.g. NGN for Nigerian Naira, KES for Kenyan Shilling

orderParamsstringOptional

Value of the orderParams query param during order creation

paymentChannelstring · enumOptional

Type of the payment channel used for the off-ramp order, e.g. bank, mobile_money, airtime

Possible values:
get
/api/offramp/order/{id}
200

Successful response

Get off-ramp orders

get
/api/offramp/orders

Returns a paginated list of orders. Filters can be applied to the list by providing query parameters.

Authorizations
x-client-idstringRequired

Your client ID

Query parameters
cursorstringOptional

this parameter should be provided in order to get a next page from the pagination, it should be taken from "nextCursor" response value

limitintegerRequired

number from 1 to 100, describes how many records should be in each pagination page

networkstring · enumOptional

blockchain network of orders

Possible values:
assetstring · enumOptional

asset of orders

Possible values:
fromAddressstringOptional

address of a user wallet

userPhoneNumberstringOptional

phone number of the client, should include country code

userEmailstringOptional

email of the client

hashstringOptional

hash of the user transaction

countryIsoCodestringOptional

country ISO code, e.g. NG

paymentChannelstring · enumOptional

type of the payment channel

Possible values:
orderParamsstringOptional

value of the orderParams query param during order creation

statusstring · enumOptional
  • initiated: The offramp order has been initiated
  • awaiting_transaction_confirmation: User sent the transaction hash and system is awaiting confirmation
  • transaction_confirmed: User transaction has been confirmed
  • transaction_failed: User transaction has failed
  • offramp_success: The offramp transaction has been successful
  • offramp_pending: The offramp transaction is pending
  • offramp_failed: The offramp transaction has failed
  • offramp_retry: The offramp transaction is being retried
  • refunding: The offramp transaction is being refunded
  • refunded: The offramp transaction has been refunded
  • refund_failed: The offramp transaction refund has failed
  • expired: The offramp order has expired
  • cancelled: The offramp order has been cancelled by the user
  • validating_transaction: The offramp transaction is being validated
  • transaction_invalid: The offramp transaction is invalid
Possible values:
Responses
chevron-right
200

Successful response

application/json
get
/api/offramp/orders
200

Successful response

Last updated