{
"cash": [
// NOTE: contains the list of cash account available for cash payment method.
{
"code": "CA00001",
"name": "Cash account 1"
},
{
"code": "CA00002",
"name": "Cash account 2"
}
],
"credit_card": [
// NOTE: contains the list of cash account available for credit card method.
],
"debit_card": [
// NOTE: contains the list of cash account available for debit card method.
],
// NOTE: In case of unavailable methods, please leave them as the empty arrays.
"Money Transfer": [],
"Note Receivable": [],
"Note Payable": [],
"Withholding Tax": [],
}
The Sample API Response
Module name: Cash accounts under a company
Sample view: Response
** Request **
URL: "api/company/<id>/cash-accounts/" where <id> is the ID of company
Request Method: GET
Module name: Cash accounts under a company
Sample view: Response
** Request **
URL: "api/company/<id>/cash-accounts/" where <id> is the ID of company
Request Method: GET
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.