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
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
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"
}