Fiat
Create a fiat account
Sets up external bank account object for the user through the configured default provider. Requires the user to already be KYC'ed.
post/v1/users/{user_id}/fiat/accounts
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/users/{user_id}/fiat/accounts
- AuthHTTP basic
Path parameters
user_idstring required
The ID of the user to create the fiat account for
Headers
privy-app-idstring required
ID of your Privy app.
Request body
Example request
{
"provider": "bridge-sandbox",
"account_owner_name": "John Doe",
"currency": "usd",
"bank_name": "Chase",
"account": {
"account_number": "1234567899",
"routing_number": "121212121",
"checking_or_savings": "checking"
},
"address": {
"street_line_1": "123 Washington St",
"street_line_2": "Apt 2F",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "USA"
},
"first_name": "John",
"last_name": "Doe"
}Response
Created fiat account details
Example response
{
"id": "a068d2dd-743a-4011-9b62-8ad33cc7a7be",
"bank_name": "Chase",
"currency": "usd",
"account_type": "us",
"last_4": "7899"
}Changes
No recorded changes to this operation across all 60 revisions of this API.