curl --request POST \
--url https://sandbox.hurdlr.com/rest/v5/accounting/glAccount \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: */*' \
--data '
{
"glAccount": {
"accountNo": "<string>",
"parentAccountNo": "<string>",
"type": "ASSET",
"name": "<string>",
"id": 123,
"status": "ACTIVE",
"taxCategory": "ADVERTISING",
"assetType": "CASH",
"liabilityType": "AP",
"equityType": "CAPITAL",
"expenseType": "MERCHANT_FEE",
"incomeType": "SERVICE_INCOME",
"customData": {}
}
}
'