Skip to main content
POST
Create a house account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Name the account is held under, usually the customer or business it belongs to.

shopper_facing_id
string
required

Account number the store gives the customer, and what a cashier looks the account up by. Unique within the banner.

balance
string<monetary>

Balance to open the account with. Money on the account. A negative balance is what the customer owes the store; a positive balance is credit they can spend. Defaults to zero.

Pattern: ^-?[0-9]+(\.[0-9]+)?$
Example:

"199.99"

email
string<email> | null

Email address on file for the account holder.

Maximum string length: 254
phone_number
string<phone> | null

Phone number on file for the account holder.

Pattern: ^\+[1-9]\d{1,14}$
status
enum<string>

Whether the account may be charged. A suspended or deactivated account cannot be charged at the register, though a suspended one still accepts payments against what is owed. Defaults to active.

Available options:
active,
deactivated,
suspended

Response

A charge account, or tab, a store lets a customer buy against and settle later. A house account belongs to the banner rather than to any one store, and can be charged at any of its registers.

id
string
required

Unique identifier for the record.

balance
string<monetary>
required

Money on the account. A negative balance is what the customer owes the store; a positive balance is credit they can spend.

Pattern: ^-?[0-9]+(\.[0-9]+)?$
Example:

"199.99"

created_at
string<date-time>
required

When the record was created.

email
string<email> | null
required

Email address on file for the account holder.

Maximum string length: 254
last_order_at
string<date-time> | null
required

When an order was last charged to or refunded against this account. Null if it has never been used at a register.

name
string
required

Name the account is held under, usually the customer or business it belongs to.

phone_number
string<phone> | null
required

Phone number on file for the account holder.

Pattern: ^\+[1-9]\d{1,14}$
shopper_facing_id
string
required

Account number the store gives the customer, and what a cashier looks the account up by. Unique within the banner.

status
enum<string>
required

Whether the account may be charged. A suspended or deactivated account cannot be charged at the register, though a suspended one still accepts payments against what is owed.

Available options:
active,
deactivated,
suspended
updated_at
string<date-time>
required

When the record was last changed.