Skip to main content
POST
Create a fiat 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

user_id
string
required

The ID of the user to create the fiat account for

Body

application/json
provider
enum<string>
required

Valid set of onramp providers

Available options:
bridge,
bridge-sandbox
Example:

"bridge"

account_owner_name
string
required
Required string length: 3 - 256
currency
enum<string>
required

Supported fiat currencies.

Available options:
usd,
eur
bank_name
string
Required string length: 3 - 256
iban
object
account
object
swift
object
address
object
first_name
string
Required string length: 1 - 1024
last_name
string
Required string length: 1 - 1024

Response

200 - application/json

Created fiat account details

id
string
required
currency
string
required
account_type
string
required
bank_name
string
last_4
string