Skip to main content
A customer is the person or business you bill. Every subscription, invoice and stored payment method hangs off one.

Create

string
The business name, or the customer’s name if not a business.
string
Your identifier for the customer.
string
required
Customer’s first name.
string
required
Customer’s last name.
string
required
Customer’s email address.
string
Mobile number.
string
Phone number.
string
Also address[line2], address[suburb], address[state], address[postcode], address[country].
uuid
Required for agency credentials.
uuid
The customer ID. Use it in every {customer} URL.
integer
Numeric reference, as shown on cards, bank accounts and invoices.
string | null
BPay customer reference number, assigned by PayChoice.
object
line1, line2 (always ""), suburb, state (code), postcode, country (code).
string
active or inactive.

Wallet

GET /customer/{customer}/wallet returns the customer with cards[] and banks[] — handy for showing a customer their stored methods. Its shape differs from the customer object: id and account_number are the numeric reference, address uses street and full state/country names, and the bank entries reuse card field names (card_name is the account name, card_type the account number, and the BSB key is "bsb " with a trailing space).

Archive

DELETE returns the envelope with "customer": {} and message_text “Data Deleted”.