Reference
/- Provision a new business currency
List user accounts
Create a new account
Get business wallet references/currencies
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
Provision a new business...
Creates a new currency record for the business on the upstream service. The currency is required before any wallet can be created in that currency.
Security
oauth2ClientCredentials(Required scopes: accounts:write)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/accounts/create-new-currency
- Productionhttps://api.boyahq.com/v2/accounts/create-new-currency
- Sandboxhttps://sandbox.api.boyahq.com/v2/accounts/create-new-currency
curl -i -X POST \
https://developer.boyahq.com/_mock/v2/openapi/accounts/create-new-currency \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-H 'org_wallet_ref: string' \
-d '{
"currency": "USD"
}'Currency provisioned successfully
Response
{ "status": 200, "data": {}, "message": "Operation completed successfully", "timestamp": "2024-01-01T00:00:00.000Z", "path": "/api/v1/accounts" }