Create Account Code

Creates a new Account Code record. The code should be unique per tenant.

SecuritybearerAuth
Request
header Parameters
X-PB-Developer-Partner-ID
string

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

Request Body schema: application/json
code
required
string

Customer-defined Account Code value (must be unique per tenant).

description
string

Human-readable description for the Account Code.

Responses
201

Account Code has been generated successfully.

400

Invalid request.

401

The request could not be authorized.

500

The request could not be completed due to an internal error.

post/api/v1/accountCodes
Request samples
application/json
{
  • "code": "278001",
  • "description": "this is description for test code 278001"
}
Response samples
application/json
{
  • "id": "d8WpwWzlMgYO"
}