Create Account
POST/accounting/accounts
Create an Account.
Request
Query Parameters
The ID of the credential.
Header Parameters
Default value: bearer YOUR_API_KEY
- application/json
Body
The unique name or title used to identify the account.
Specifies the kind of account. Possible values: BANK, OTHER_CURRENT_ASSET, FIXED_ASSET, OTHER_ASSET, ACCOUNTS_RECEIVABLE, EQUITY, EXPENSE, OTHER_EXPENSE, COST_OF_GOODS_SOLD, ACCOUNTS_PAYABLE, CREDIT_CARD, LONG_TERM_LIABILITY, OTHER_CURRENT_LIABILITY, INCOME, OTHER_INCOME
A brief overview or explanation detailing the purpose or nature of the account.
The category or grouping to which the account belongs, aiding in organizing and analyzing accounts. Possible values: ASSET, EQUITY, EXPENSE, LIABILITY, REVENUE
The present amount or value held in the account.
The type of currency used for transactions and balances in the account. Possible values: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XTS, XUA, XXX, YER, ZAR, ZMW, ZWL
The current state of the account. Possible values: ACTIVE, INACTIVE
A unique identifier or code assigned to the account for reference and transactions.
ID of the parent Account.
An object containing remote fields that are not supported by the common model. The keys are the names of the fields of the corresponding resource in the remote app, and the values can be strings, numbers, arrays or objects.
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
account
object
Default value: true
{
"account": {
"remoteId": "138",
"accountName": "Internet & TV services",
"accountDescription": {},
"classification": "Expense",
"accountType": "Expense",
"accountStatus": "Active",
"currentBalance": {},
"currency": "USD",
"accountNumber": {},
"parentAccountId": {},
"companyId": {},
"id": "00000000-0000-0000-0000-000000000000",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:12:54.946Z",
"updatedAt": "2024-02-22T13:46:05.011Z"
}
}
{
"account": {
"remoteId": "138",
"accountName": "Internet & TV services",
"accountDescription": null,
"classification": "Expense",
"accountType": "Expense",
"accountStatus": "Active",
"currentBalance": null,
"currency": "USD",
"accountNumber": null,
"parentAccountId": null,
"companyId": null,
"id": "00000000-0000-0000-0000-000000000000",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:12:54.946Z",
"updatedAt": "2024-02-22T13:46:05.011Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
{}
{}