Fiat

Create a fiat deposit account

Changed on

Creates a Bridge Virtual Account linked to a wallet. Fiat sent to the returned deposit instructions will be converted to the specified crypto asset and delivered to the wallet.

post/v1/wallets/{wallet_id}/deposit_accounts/fiat

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/wallets/{wallet_id}/deposit_accounts/fiat
  • Auth
    HTTP basic

Path parameters

wallet_idstring required

The ID of the wallet.

Headers

privy-app-idstring required

ID of your Privy app.

Request body

provider'bridge' required

Discriminator: the fiat deposit account is orchestrated via Bridge.

environment'sandbox' | 'production'

The Privy API environment.

developer_fee_percentstring

A fee your app keeps on each deposit, as a percentage of the deposit amount. Omit for no fee.

Example request

{
  "environment": "sandbox",
  "developer_fee_percent": "1.5"
}

Response

The created fiat deposit account.

Example response

{
  "fiat_deposit_account": {
    "environment": "sandbox",
    "developer_fee_percent": "1.5"
  }
}

Changes