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": "69.16",
"amount_paid": "23.80",
"amount_remaining": "12.28",
"attempt_count": 19,
"attempted": true,
"created_at": "2025-03-12T01:37:16.358Z",
"currency": "SbComKdIN5ys",
"customer_email": "pbtEMcXF@m9g6.com",
"customer_id": "zwvJYP4VTGAf",
"default_payment_method": "1QD6taflk",
"description": "QAHgowj9xCyXvl0CrH",
"discounts": [
{
"coupon": {
"amount_off": "3.01",
"deleted": true,
"id": "BukFfxcDDdryzI8YA0yjA",
"metadata": {},
"name": "LOkm4uX85f7RjCnXH",
"percent_off": 20
}
}
],
"id": "9A4AUbt0kDXlRb545FRYgsuYc6at",
"lines": [
{
"amount": "15.89",
"currency": "XDw0QI",
"description": "QPbuL9oItVIzRzfqwyrffoO9WZg",
"id": "7Ev5vLGxVK2VWWeulUqhua8KExa2D",
"invoice_item": "D0h8o0180",
"metadata": {}
}
],
"metadata": {},
"number": "D1IMDPkklGfSL0pPeyyhZs2LY8EO",
"paid": false,
"pdf": "https://eYEVswk4MWdE.dF.com/tg6BaEkd/0a",
"receipt_number": "ZIS5fiG9BnfZtXQi9w1Vtz",
"statement_descriptor": "NreKT6xFx",
"status": "draft",
"subtotal": "59.53",
"tax": "29.13",
"total": "44.96",
"url": "https://S61wXZWa3JC.3buLNOr.com/G83AQ/4z622foaY"
}
]