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": "74.40",
"amount_paid": "66.67",
"amount_remaining": "54.36",
"attempt_count": 14,
"attempted": false,
"created_at": "2024-10-29T16:17:51.188Z",
"currency": "05zW17cRKvVOrOvkkHrqRa24",
"customer_email": "P7fXr1Pvcr@Y7hAU.com",
"customer_id": "bT6vn7SyGLzyy",
"default_payment_method": "b8db6pjhBrOTM",
"description": "Nz54gKgnD2OruT",
"discounts": [
{
"coupon": {
"amount_off": "3.77",
"deleted": false,
"id": "p7",
"metadata": {},
"name": "EikOCF0JTvxbc",
"percent_off": 24
}
}
],
"id": "HEZReDbE",
"lines": [
{
"amount": "8.27",
"currency": "rIKaIqXJF0U",
"description": "R4dlZoZtlEH84CbZpp3wh7Lt0LzY",
"id": "qZeEg338FMrtWvg99LH",
"invoice_item": "fARlKN",
"metadata": {}
}
],
"metadata": {},
"number": "Ja20d5Ah5NjACcm73dwj608l2",
"paid": false,
"pdf": "https://hNVl3..com/fbDsUIejR/O3YhyxT4do",
"receipt_number": "T",
"statement_descriptor": "CS2R8EfVqzKCMYQAQl7YytlpS",
"status": "uncollectible",
"subtotal": "99.91",
"tax": "36.78",
"total": "91.09",
"url": "https://M0Mes6A.JlwSzkmJS.com/mRbMztisWe/wY4aW"
}
]