Get Started

Theme switcher

Object Example

Customer Object Demo

idstring Required

Unique identifier for the object.

objectstring

String representing the object’s type. Objects of the same type share the same value.

addressstring

The customer’s address.

balancenumber

The current balance, if any, that’s stored on the customer. 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 Stripe hasn’t successfully applied to any invoice. It doesn’t reflect unpaid invoices. This balance is only taken into account after invoices finalize.

creatednumber

Time at which the object was created. Measured in seconds since the Unix epoch.

currencystring

Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes.

default_sourcestring

ID of the default payment source for the customer.

delinquentboolean

Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the invoice.due_date will set this field to true.

descriptionstring
discountstring

Describes the current discount active on the customer, if there is one.

emailstring

The customer’s email address.

invoice_prefixstring
invoice_settingsobject

Show child attributes

livemodeboolean
metadataobject
namestring
next_invoice_sequencenumber
phonestring
preferred_localesarray
shippingstring
tax_exemptstring
test_clockstring
Was this section helpful?

What made this section unhelpful for you?

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 { "id": "cus_NffrFeUfNV2Hib", "object": "customer", "address": null, "balance": null, "created": 1680893993, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "jennyrosen@example.com", "invoice_prefix": "0759376C", "invoice_settings": { "custom_fields": null, "default_payment_method": null, "footer": null, "rendering_options": null }, "livemode": false, "metadata": {}, "name": "Jenny Rosen", "next_invoice_sequence": 1, "phone": null, "preferred_locales": [], "shipping": null, "tax_exempt": "none", "test_clock": null }
Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot