GET
/
v1
/
users
/
{user_id}
/
fiat
/
accounts
curl --request GET \
  --url https://api.privy.io/v1/users/{user_id}/fiat/accounts \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'privy-app-id: <privy-app-id>'
{
  "accounts": [
    {
      "id": "a068d2dd-743a-4011-9b62-8ad33cc7a7be",
      "bank_name": "Chase",
      "currency": "usd",
      "account_type": "us",
      "last_4": "7899"
    }
  ]
}

Authorizations

Authorization
string
header
required

App secret authentication.

Headers

privy-app-id
string
required

ID of your Privy app.

Path Parameters

user_id
string
required

The ID of the user to get fiat accounts for

Query Parameters

provider
enum<string>
required
Available options:
bridge,
bridge-sandbox

Response

200 - application/json
List of fiat accounts

The response is of type object.