Reference
/- Get account by ID
List user accounts
Create a new account
Get business wallet references/currencies
Provision a new business currency
Create a new account (wallet) for the business
Get cashflow report for accounts
Update account details
Get account balance
Get account transactions
Suspend account
Activate account
Get account by ID
Security
oauth2ClientCredentials(Required scopes: accounts:read)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/accounts/{id}
- Productionhttps://api.boyahq.com/v2/accounts/{id}
- Sandboxhttps://sandbox.api.boyahq.com/v2/accounts/{id}
curl -i -X GET \
'https://developer.boyahq.com/_mock/v2/openapi/accounts/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'business_id: string' \
-H 'org_wallet_ref: string'Account details
Response
{ "status": 200, "data": {}, "message": "Operation completed successfully", "timestamp": "2024-01-01T00:00:00.000Z", "path": "/api/v1/accounts" }