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": "75.30",
"amount_paid": "19.28",
"amount_remaining": "86.90",
"attempt_count": 10,
"attempted": false,
"created_at": "2025-01-07T17:17:35.425Z",
"currency": "FKpq5bg4ShwopFt",
"customer_email": "XhYbt66tM@6.com",
"customer_id": "P4",
"default_payment_method": "MiokoWtwiqcOojp",
"description": "xOM6PqwzLRwYusLBJB",
"discounts": [
{
"coupon": {
"amount_off": "39.54",
"deleted": true,
"id": "UgY",
"metadata": {},
"name": "uL",
"percent_off": 17
}
}
],
"id": "iwNdKBWEiFz36Xci0qEEz6tyk",
"lines": [
{
"amount": "8.57",
"currency": "O6MXVc62tOlcQG74nm3NLi0wZqEZz",
"description": "kkFcigPqJmOFMQvnkjQFsk6F",
"id": "p",
"invoice_item": "yZMMMgleE5DhZHRhHr79Q9Pw92n",
"metadata": {}
}
],
"metadata": {},
"number": "pBbRagnwGhBcikAhDZ2Wk7",
"paid": true,
"pdf": "https://a.JFW9igF.com/M869wDDE/fER",
"receipt_number": "r016Oni5untngzrSwnjL",
"statement_descriptor": "eN",
"status": "void",
"subtotal": "13.21",
"tax": "42.48",
"total": "87.65",
"url": "https://E.di7.com/zIr/Yz2xfJ8ga"
}
]