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": "50.01",
"amount_paid": "91.36",
"amount_remaining": "39.25",
"attempt_count": 23,
"attempted": true,
"created_at": "2024-12-19T17:49:39.648Z",
"currency": "jJj7VMh0js9sOY72v2wei",
"customer_email": "tbhyw7a@Tos.com",
"customer_id": "6",
"default_payment_method": "nQ7CvMMgP",
"description": "IuMxiKN6Y",
"discounts": [
{
"coupon": {
"amount_off": "30.70",
"deleted": false,
"id": "3uF5uxIDC6mzxYg2L6RqnjN",
"metadata": {},
"name": "ZHwHvGd6uGUfURwQ",
"percent_off": 13
}
}
],
"id": "iWZkHakDEiqi0BCZkmEUIlMBCsNnT",
"lines": [
{
"amount": "33.53",
"currency": "l",
"description": "UxzI8v1DLWnsAnr0xLi",
"id": "KbBmybELtrFEijicHHgmET",
"invoice_item": "m",
"metadata": {}
}
],
"metadata": {},
"number": "sNEXdrtUiy99K8gafOzUCfwH",
"paid": false,
"pdf": "https://eB.x8gUoJxPK.com/ARB86g/",
"receipt_number": "hCPNsCQ8kE8i0xb5Pl",
"statement_descriptor": "K",
"status": "paid",
"subtotal": "22.73",
"tax": "2.04",
"total": "29.03",
"url": "https://AorQjw.A7UyoN2u.com/0JlstWDOKF/PkQ"
}
]