DataContractGate

Cloud Free needs no credit card

Sign inSign up
← Catalog
Payments

Stripe — data contract (compatible with Stripe’s documented schema; not affiliated with Stripe)

Stripe Customer object — core fields of an exported Stripe customer. Compatible with Stripe's API Customer object; not affiliated with Stripe.

Validate a client's Stripe export at ingest into your warehouse, or with POST /egress before sending the same shape to a partner, reverse ETL, or an AI agent.

Download YAML

Also available: ODCS v3.1.0 YAML. “Use this contract” forks it into your org, then opens the validation playground so you can upload the client file.

Fields

NameTypeRequiredRuleDescription
idstringrequiredpattern /^cus_[A-Za-z0-9]+$/Unique identifier for the customer.
objectstringrequiredone of: customer—
emailstringoptionalemail format—
namestringoptional——
descriptionstringoptional——
phonestringoptional——
createdintegerrequired≥ 0Time at which the object was created (Unix epoch seconds).
currencystringoptionalpattern /^[a-z]{3}$/—
balanceintegeroptional—Current balance, if any, in the smallest currency unit. A negative balance is credit.
delinquentbooleanoptional——
livemodebooleanoptional——

Sample rows

Three synthetic rows we wrote. They validate against this contract with zero violations. No real customer data.

[
  {
    "balance": 0,
    "created": 1731000000,
    "currency": "usd",
    "delinquent": false,
    "description": "Imported from client CRM",
    "email": "customer@example.com",
    "id": "cus_Example0001",
    "livemode": false,
    "name": "Jordan Example",
    "object": "customer",
    "phone": "555-0100"
  },
  {
    "balance": -500,
    "created": 1731003600,
    "delinquent": false,
    "email": "billing@example.org",
    "id": "cus_Example0002",
    "name": "Casey Sample",
    "object": "customer"
  },
  {
    "created": 1731090000,
    "currency": "eur",
    "delinquent": true,
    "id": "cus_Example0003",
    "livemode": false,
    "name": "Acme Test LLC",
    "object": "customer",
    "phone": "555-0133"
  }
]

Provenance

Checked
2026-11-05
Version
v1.0
Author
DataContractGate
License
MIT

Spotted a mismatch with the vendor’s current schema? Report an issue.

Stripe, Shopify, QuickBooks, Xero, HubSpot, Salesforce, Google Analytics and Square are trademarks of their respective owners. DataContractGate is not affiliated with or endorsed by them. These contracts describe data shaped like these vendors’ documented schemas; they are not official and are not certified by any vendor.