v46

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-211591,0051.4 MB
Fiat

Initiate an offramp transaction

Triggers the offramp flow and gets the on-chain address to send funds to

post/v1/users/{user_id}/fiat/offramp

Path parameters

user_idstring required

The ID of the user initiating the offramp

Headers

privy-app-idstring required

ID of your Privy app.

Request body

amountstring required
provider'bridge' | 'bridge-sandbox' required

Valid set of onramp providers

Example request

{
  "amount": "100.00",
  "destination": {
    "currency": "usd",
    "external_account_id": "a068d2dd-743a-4011-9b62-8ad33cc7a7be",
    "payment_rail": "ach_push"
  },
  "provider": "bridge-sandbox",
  "source": {
    "chain": "base",
    "currency": "usdc",
    "from_address": "0xc24272abc794b973b896715db40a72714a030323"
  }
}

Response

Deposit instructions for the offramp

idstring required
status'awaiting_funds' | 'in_review' | 'funds_received' | 'payment_submitted' | 'payment_processed' | 'canceled' | 'error' | 'undeliverable' | 'returned' | 'refunded' required

Status of an onramp or offramp transfer.

Example response

{
  "deposit_instructions": {
    "amount": "100.0",
    "chain": "base",
    "currency": "usdc",
    "from_address": "0xc24272abc794b973b896715db40a72714a030323",
    "to_address": "0xdeadbeef2usdcbase"
  },
  "id": "d220bcf7-4ad5-4687-8a61-e51c5875225e",
  "status": "awaiting_funds"
}