Skip to main content
POST
/
v1
/
apps
/
{app_id}
/
fiat
Configure app for fiat onramping and offramping.
curl --request POST \
  --url https://api.privy.io/v1/apps/{app_id}/fiat \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'privy-app-id: <privy-app-id>' \
  --data '
{
  "provider": "bridge-sandbox",
  "api_key": "insert-api-key"
}
'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.privy.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Basic Auth header with your app ID as the username and your app secret as the password.

Headers

privy-app-id
string
required

ID of your Privy app.

Path Parameters

app_id
string
required

The ID of the app that is being configured for fiat onramping and offramping

Body

application/json
provider
enum<string>
required

Valid set of onramp providers

Available options:
bridge,
bridge-sandbox
Example:

"bridge"

api_key
string
required
Minimum string length: 1

Response

200 - application/json

Success message if the app was configured successfully

A simple success response.

success
boolean
required