payload.json
{
"object": "list",
"url": "/v1/invoices",
"has_more": false,
"data": [
{
"id": "in_1TestInv123",
"object": "invoice",
"account_country": "US",
"account_name": "Test Company LLC",
"amount_due": 5000,
"amount_paid": 5000,
"amount_remaining": 0,
"created": 1672531200,
"currency": "usd",
"customer": "cus_12345",
"customer_email": "test@example.com",
"customer_name": "Jane Doe",
"metadata": {
"internal_id": "89012",
"referral_source": "google_ads",
"utm_campaign": "spring_sale"
},
"lines": {
"object": "list",
"data": [
{
"id": "il_1TestLine1",
"object": "line_item",
"amount": 5000,
"currency": "usd",
"description": "Premium Subscription (Yearly)",
"price": {
"id": "price_1TestPrice",
"product": "prod_1Test",
"unit_amount": 5000
},
"quantity": 1
}
]
},
"status": "paid",
"total": 5000
},
{
"id": "in_1TestInvABC",
"object": "invoice",
"amount_due": 1250,
"amount_paid": 1250,
"currency": "usd",
"customer": "cus_67890",
"metadata": {
"internal_id": "89020",
"referral_source": "organic",
"utm_campaign": "none"
},
"lines": {
"data": [
{
"amount": 1250,
"description": "Basic Plan (Monthly)",
"quantity": 1
}
]
},
"status": "paid",
"total": 1250
}
]
}Dataset Size
1663 Bytes
Format
JSON (Nested)
License
MIT (Free to use)