W3builders
AOP API

AOP API/Accounting & Ledger

Create Account

POST/finance/accounts
JWT bearer

Create an account.

Endpoint

POSThttps://api.w3builders.com/v1/finance/accounts

Request body

  • name (required)
  • key (required, unique per tenant)
  • code (optional, unique per tenant)
  • type, sub_type

Response parameters

FieldType
successvalue
idvalue
Create Account
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 }"
}
Was this page helpful?