Skip to navigation

Create an offramp

View as Markdown

Creates a crypto-to-fiat transaction. Omit transaction_hash to receive transfer instructions, then submit the hash with the update endpoint.

Headers

idempotency-keystringOptional>=1 character
Unique request key. Reuse the same value when retrying the same transaction.

Request

Creates a crypto-to-fiat transaction.

amountstringRequiredformat: "^(?:0|[1-9]\d*)(?:\.\d+)?$"
Amount of blockchain asset the customer will send.
sourceobjectRequired
An account on a supported blockchain network.
destinationobjectRequired
A fiat payment account.
transaction_hashstringOptional>=1 character

Hash of an on-chain transfer that has already been submitted.

Response

Transfer instructions or confirmation that the fiat payout is processing.
object
OR
object

The on-chain transfer was accepted and the fiat payout is processing.

Errors

400
Bad Request Error
422
Unprocessable Entity Error
500
Internal Server Error