JSON example (checkout API sample)
This is the same checkout payload used as sample data in the formatter. Copy it, or load it in the editor.
{
"requestId": "req_7f3c91ab",
"generatedAt": "2026-04-12T18:42:11.204Z",
"service": {
"name": "checkout-api",
"version": "2.14.3",
"region": "us-east-1"
},
"order": {
"id": "ord_98211",
"status": "paid",
"currency": "USD",
"subtotal": 184.5,
"tax": 14.76,
"total": 199.26,
"customer": {
"id": "cus_4402",
"email": "alex.rivers@example.com",
"name": "Alex Rivers",
"plan": "team"
},
"items": [
{
"sku": "KB-87-HT",
"name": "Hot-swap keyboard kit",
"quantity": 1,
"unitPrice": 129.0,
"imageUrl": "https://placehold.co/320x200/0B0B0C/FACC15.png?text=Keyboard"
},
{
"sku": "SW-TAC-36",
"name": "Tactile switch pack",
"quantity": 2,
"unitPrice": 18.5,
"imageUrl": "https://placehold.co/320x200/0B0B0C/F97316.png?text=Switches"
},
{
"sku": "CAB-USB-C",
"name": "USB-C coiled cable",
"quantity": 1,
"unitPrice": 18.5,
"imageUrl": "https://placehold.co/320x200/FAFAFA/0B0B0C.png?text=Cable"
}
],
"shipping": {
"method": "ground",
"tracking": "1Z999AA10123456784",
"address": {
"line1": "14 Market Street",
"city": "Somerville",
"region": "MA",
"postalCode": "02143",
"country": "US"
}
}
},
"flags": {
"expedited": false,
"giftWrap": false,
"taxExempt": false
}
}