Skip to main content
POST
/
payment
/
api
/
v1
/
transfers
/
offramp
Offramp Transfer
curl --request POST \
  --url https://api.carbnconnect.com/payment/api/v1/transfers/offramp \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "user_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "crypto_currency": "USDC",
  "amount": 50.25,
  "destination_account_id": "9ae6fe4g-b798-545g-c1c6-b69ege7c280d",
  "fiat_currency": "EUR",
  "blockchain": "solana"
}'

Authorizations

x-api-key
string
header
required

API key for authentication. Must be included in the x-api-key header.

Body

application/json
user_id
string<uuid>
required

The unique identifier of the user

Example:

"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

crypto_currency
string
required

The cryptocurrency to convert (USDC, BTC, ETH, etc.)

Example:

"USDC"

amount
number
required

The amount of cryptocurrency to convert

Example:

50.25

destination_account_id
string<uuid>
required

The unique identifier of the registered destination account (bank/card)

Example:

"9ae6fe4g-b798-545g-c1c6-b69ege7c280d"

fiat_currency
string
required

Target fiat currency code (ISO 4217)

Example:

"EUR"

blockchain
string

The blockchain network (optional, will use default if not specified)

Example:

"solana"

Response

Offramp transfer initiated successfully