Bank accounts

Read-only. Bank accounts carry accountnumber, positive-pay SFTP credentials and private keys. Those are never returned, and the account is not writable through the API - changing where money moves is not an integration operation.

The object#

FieldTypeDescription
idread-onlyintegerNolaPro id.
nameread-onlystring(30)Account name.
currencyread-onlystring(10)Currency code.
apread-onlybooleanAvailable for payables.
arread-onlybooleanAvailable for receivables.
inactiveread-onlybooleanNot in use.
cancelread-onlybooleanTrue once cancelled.

Endpoints#

GET/checkaccounts 200403

List bank accounts.

Requires scope banking:read.

Parameters
NameInTypeNotes
namequerystringname. Partial match, case-insensitive.
cancelquerystringDefaults to false. Pass true or any.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
403insufficient_scopeToken lacks checkaccounts:read.
curl \
  'https://acme.nolapro.com/!/api/v2/checkaccounts' \
  -H 'Authorization: Bearer $NP_TOKEN'
GET/checkaccounts/{id} 200404

Retrieve one record.

Requires scope banking:read.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl \
  'https://acme.nolapro.com/!/api/v2/checkaccounts/104' \
  -H 'Authorization: Bearer $NP_TOKEN'
Response 200
{
    "id": 3,
    "name": "Operating",
    "currency": "USD",
    "ap": true,
    "ar": true,
    "inactive": false,
    "cancel": false
}