API → Payments → List invoices for your user
get
/user/payment/invoices$ curl "https://api.zoo.dev/user/payment/invoices" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response[
{
"amount_due": "73.27",
"amount_paid": "14.88",
"amount_remaining": "87.65",
"attempt_count": 6,
"attempted": true,
"created_at": "2025-01-09T18:26:40.539Z",
"currency": "F6SEJZLf",
"customer_email": "jFOl@jfwh.com",
"customer_id": "t6YaT0J5oIGAH2SAl9NIzxO6AS",
"default_payment_method": "8Znt",
"description": "MkmHxrQkS",
"discounts": [
{
"coupon": {
"amount_off": "76.25",
"deleted": true,
"id": "",
"metadata": {},
"name": "ZxeAK1R3fDCIKUPR53XAQJ7TyzGLG",
"percent_off": 23
}
}
],
"id": "JyyEobYi6QfGlBRW4SG1",
"lines": [
{
"amount": "37.32",
"currency": "Ko9fdvZjMZ7q2sKzR",
"description": "1PPJCgXwkkxR7RlI",
"id": "c0bBcDvVz1WGFbjNAX51FAe",
"invoice_item": "XWw79z4YIt0MkdI8nRt",
"metadata": {}
}
],
"metadata": {},
"number": "WH19yfomQ3r1TaHieNZxh4NIT2",
"paid": false,
"pdf": "https://Fw7EkVt.ur.com/3QU4/ZCr4URAD",
"receipt_number": "ozqvyHUnjItD4Hsh6K",
"statement_descriptor": "GJqz5zVbX3DZUN6",
"status": "paid",
"subtotal": "20.69",
"tax": "46.35",
"total": "58.41",
"url": "https://ZSDdLsowdrd.PwTBU.com/iNj0Nf3wUlL/rld1i"
}
]