Crypto To Fiat

Operations for crypto to fiat conversions (off-ramp)

Request off-ramp quote

post

Generate a quote for converting cryptocurrency to fiat currency.

You can provide either an existing recipientId or create a new recipient by providing kycInformation and fiatSettlementDetails.

Authentication

All API requests to orda require HMAC signatures using your project's client ID and client secret. The signature is a HMAC-SHA256 hash of the request body, using your Client Secret as the key. For the endpoints where there is no request body, use an empty string.

Required Headers

Header
Description

x-client-id

Your project's client ID

x-signature

HMAC-SHA256 signature derived from your client secret

Content-Type

application/json for this request


Intent Specification: The quote request uses an intent object to specify the amount calculation method:

  • usd: Calculate based on USD amount

  • fromAmount: Calculate based on source token amount

  • toAmount: Calculate based on destination token amount

Important Notes:

  • Provide EITHER recipientId OR both kycInformation and fiatSettlementDetails (not both options)

  • If a recipientId is provided, the system will use the recipient's pre-configured settlement details

  • If you provide kycInformation and fiatSettlementDetails, settlement details are provided inline

  • KYC information is required for compliance with financial regulations

  • Quotes have a limited validity period

Authorizations
x-client-idstringRequired

Your project client ID from orda dashboard

x-signaturestringRequired

HMAC-SHA256 signature of canonical request body using your client secret

x-timestampstringRequired

Unix timestamp in milliseconds for replay protection (recommended)

Header parameters
x-client-idstringRequired

Your project client ID from orda dashboard

Default: prj_abc123def456ghi789Example: prj_abc123def456ghi789
x-signaturestringRequired

HMAC-SHA256 signature of canonical request body using your client secret

Default: a1b2c3d4e5f6789abc123def456ghi789abc123def456Example: a1b2c3d4e5f6789abc123def456ghi789abc123def456
x-timestampstringOptional

Unix timestamp in milliseconds for replay protection (recommended)

Default: 1704067200000Example: 1704067200000
Body
fromChainstringRequired

Source blockchain chain ID

Example: 42161
fromTokenstringRequired

Source token contract address

Example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
fromAddressstringRequired

Source wallet address

Example: 0x742d35Cc6634C0532925a3b844Bc45426438f000
recipientIdstringOptional

The ID of the recipient to send funds to (provide either this OR kycInformation+fiatSettlementDetails)

Example: recipient-id
Responses
chevron-right
200

Off-ramp quote generated successfully

application/json
post
/offramp/quote

Get off-ramp status

get

Authentication

All API requests to orda require HMAC signatures using your project's client ID and client secret:

Required Headers

Header
Description

x-client-id

Your project's client ID

x-signature

HMAC-SHA256 signature derived from your client secret

The signature is an HMAC-SHA256 hash of the request body, using your Client Secret as the key.


Check the status of a crypto-to-fiat transaction.

Status Values:

  • pending: The order has been created but crypto deposit has not been received yet

  • processing: The crypto has been received and fiat conversion is in process

  • completed: The fiat has been successfully sent to the recipient's bank account

  • failed: The transaction failed

  • refunded: The transaction was refunded

Authorizations
x-client-idstringRequired

Your project client ID from orda dashboard

x-signaturestringRequired

HMAC-SHA256 signature of canonical request body using your client secret

x-timestampstringRequired

Unix timestamp in milliseconds for replay protection (recommended)

Query parameters
transactionIdstringRequired

Reference ID of the off-ramp transaction

Example: ref-123456
Header parameters
x-client-idstringRequired

Your project client ID from orda dashboard

Default: prj_abc123def456ghi789Example: prj_abc123def456ghi789
x-signaturestringRequired

HMAC-SHA256 signature of canonical request body using your client secret

Default: a1b2c3d4e5f6789abc123def456ghi789abc123def456Example: a1b2c3d4e5f6789abc123def456ghi789abc123def456
x-timestampstringOptional

Unix timestamp in milliseconds for replay protection (recommended)

Default: 1704067200000Example: 1704067200000
Responses
chevron-right
200

Transaction status retrieved successfully

application/json
get
/offramp/status

Last updated