Skip to main content
POST
Create a fiat deposit account

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

wallet_id
string
required

The ID of the wallet.

Body

application/json

Request body for creating a fiat deposit account linked to a wallet. The shape varies by provider.

provider
enum<string>
required

Discriminator: the fiat deposit account is orchestrated via Bridge.

Available options:
bridge
source
CreateFiatDepositAccountSource · object
required

The source fiat currency for a fiat deposit account.

destination
FiatDepositAccountDestination · object
required

The destination crypto asset and chain for a fiat deposit account.

environment
enum<string>

The Privy API environment.

Available options:
sandbox,
production
Example:

"sandbox"

Response

200 - application/json

The created fiat deposit account.

Response containing a single fiat deposit account.

fiat_deposit_account
FiatDepositAccount · object
required

A fiat deposit account linked to a wallet. The shape varies by provider.