The Customer object
This object represents a customer of your business. Use it to create recurring subscriptions, save wallet and contact information, and track USDC payments that belong to the same customer.
Attributes
The current balance, if any, that's stored on the customer in their default currency. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that's added to their next invoice. The balance only considers amounts that Zoneless hasn't successfully applied to any invoice. It doesn't reflect unpaid invoices. This balance is only taken into account after invoices finalize. For multi-currency balances, see invoice_credit_balance.
Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes.
Difference from Stripe: Zoneless only settles in usdc, so this field is either null or usdc.
ID of the default payment source for the customer. If you use payment methods created through the PaymentMethods API, see the invoice_settings.default_payment_method field instead.
Difference from Stripe: Stripe's default source is a bank account or card ID. Zoneless's default source is a linked Solana wallet ID (src_z_ prefix).
Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API sets this field to false. An automatic payment failure or passing the invoice's due_date sets this field to true.
An arbitrary string attached to the object. Often useful for displaying to users.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
The suffix of the customer's next invoice number (for example, 0001). When the account uses account level sequencing, this parameter is ignored in API requests and the field is omitted in API responses.
The customer's preferred locales (languages), ordered by preference.
Mailing and shipping address for the customer. Appears on invoices emailed to this customer.
The customer's payment sources, if any.
Difference from Stripe: Zoneless customers pay from linked Solana wallets rather than bank accounts, so each item in sources.data represents a wallet rather than a bank account. See External Wallets for the equivalent object sellers use to receive USDC payouts.
Describes the customer's tax exemption status, which is none, exempt, or reverse. When set to reverse, invoice and receipt PDFs include the text "Reverse charge".
exemptnonereverse{
"id": "cus_z_NffrFeUfNV2Hib",
"object": "customer",
"address": null,
"balance": 0,
"created": 1778894772,
"currency": null,
"default_source": null,
"delinquent": false,
"description": null,
"email": "tomjones@example.com",
"invoice_prefix": "024A99CD",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null,
"rendering_options": null
},
"livemode": false,
"metadata": {},
"name": "Tom Jones",
"next_invoice_sequence": 1,
"phone": null,
"preferred_locales": [],
"shipping": null,
"tax_exempt": "none",
"test_clock": null,
"platform_account": "acct_z_Platform123abc"
}