docs

Customer

A Customer represents a buyer you do business with. Use Customers to save payment methods for reuse, track lifetime spend, attach metadata for your CRM, and group related Charges, Refunds, and Checkout Sessions under a single record. You can identify a Customer by their email or by a stable external ID from your own system and reference them on any future payment.

A Customer represents a buyer you do business with. Use Customers to save payment methods for reuse, track lifetime spend, attach metadata for your CRM, and group related Charges, Refunds, and Checkout Sessions under a single record. You can identify a Customer by their email or by a stable external ID from your own system and reference them on any future payment.

{  "id": "cus_abc123xyz",  "object": "customer",  "type": "registered",  "createdAt": "string",  "updatedAt": "string",  "name": "string",  "email": "string",  "phone": "string",  "address": {    "line1": "string",    "line2": "string",    "city": "string",    "state": "string",    "postalCode": "string",    "country": "string",    "property1": null,    "property2": null  },  "guestFingerprint": {    "emails": [      "string"    ],    "phones": [      "string"    ],    "cardFingerprints": [      {}    ]  },  "metadata": {    "property1": null,    "property2": null  },  "merchantId": "string"}