Fiat

Create an external fiat account

Changed on

Creates an external fiat account linked to a user for use in offramp transfers.

post/v1/users/{user_id}/external_fiat_accounts

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/users/{user_id}/external_fiat_accounts
  • Auth
    HTTP basic

Path parameters

user_idstring required

The DID of the user to create the external fiat account for.

Headers

privy-app-idstring required

ID of your Privy app.

Request body

provider'bridge' required

Discriminator: the external fiat account is orchestrated via Bridge.

environment'sandbox' | 'production'

The Privy API environment.

currencystring required
account_owner_namestring required
bank_namestring

Example request

{
  "environment": "sandbox"
}

Response

The created external fiat account.

Example response

{
  "external_fiat_account": {
    "environment": "sandbox"
  }
}

Changes