Substy Developers
Billing

Get agency wallet

Read the agency wallet balance, currency and wallet settings.

GET/v1/agencies/{agencyId}/wallet

Read the agency wallet balance, currency and wallet settings.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

agencyId*string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agencies/string/wallet" \  -H "Authorization: Bearer YOUR_API_KEY"
{  "data": {    "balance": 0,    "minimumBalance": 0,    "agencyId": "string",    "id": "string",    "lowBalanceNotificationsEnabled": true,    "lastLowBalanceNotificationSent": null  },  "meta": {    "requestId": "string"  }}