AOP API/Accounting & Ledger
/finance/accountsCreate an account.
https://api.w3builders.com/v1/finance/accounts| Field | Type |
|---|---|
| success | value |
| id | value |
curl -X POST https://api.w3builders.com/v1/finance/accounts \-H "Authorization: Bearer $TOKEN" \-H "Content-Type: application/json" \-d '{"name": "Payment Gateway Fees","key": "pg_fees","type": "expense","sub_type": "operating"}'
{"shape": "{ success, id }"}
curl -X POST https://api.w3builders.com/v1/finance/accounts \-H "Authorization: Bearer $TOKEN" \-H "Content-Type: application/json" \-d '{"name": "Payment Gateway Fees","key": "pg_fees","type": "expense","sub_type": "operating"}'
{"shape": "{ success, id }"}