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