GET
/
accounts
/
{account_id}
/
wallet
curl --request GET \
  --url https://api.togai.com/accounts/{account_id}/wallet \
  --header 'Authorization: Bearer <token>'
{
  "id": "wallet.1223.sf23f",
  "accountId": "ACC001",
  "customerId": "CUST001",
  "availableBalance": "PREPAID_CREDIT",
  "balance": 500,
  "creditUnit": "USD",
  "externalId": "ext_id_123",
  "status": "ACTIVE",
  "holdAmount": 500,
  "createdAt": "2023-12-13T12:00:00Z",
  "updatedAt": "2023-12-13T12:00:00Z",
  "metadata": {
    "autoNetOff": false
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

account_id corresponding to an account

Response

200 - application/json
id
string
required
accountId
string
required
customerId
string
required
balance
number
required
creditUnit
string
required
externalId
string
status
enum<string>
Available options:
ACTIVE
holdAmount
number
createdAt
string
updatedAt
string
metadata
object