API → Payments → List invoices for your org
get
/org/payment/invoices$ curl "https://api.zoo.dev/org/payment/invoices" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response[
{
"amount_due": "37.31",
"amount_paid": "22.75",
"amount_remaining": "25.26",
"attempt_count": 8,
"attempted": true,
"created_at": "2024-12-19T17:49:25.660Z",
"currency": "Lkb1ANuKppU6VSnUCc",
"customer_email": "X@STZC.com",
"customer_id": "JnvlvBfvHST4pO0OLuMbN6i3bMHV",
"default_payment_method": "CyCs40fEBvMwR9kWLEU3oDd3",
"description": "rghEa4m2NGm",
"discounts": [
{
"coupon": {
"amount_off": "29.35",
"deleted": false,
"id": "",
"metadata": {},
"name": "hIa",
"percent_off": 30
}
}
],
"id": "",
"lines": [
{
"amount": "7.82",
"currency": "bbVl1jIzornAUlneOXcZ3hLNbo4hN",
"description": "vFJYG4lCI7l",
"id": "",
"invoice_item": "X6FpxSqd7yliR2J8z",
"metadata": {}
}
],
"metadata": {},
"number": "qe7nCvyqJIu36ULTwLGVVzfWehR",
"paid": false,
"pdf": "https://tMVBqBmuS1f.4hxEqQ.com/pcjSRHCvSRdR/jCGR9b2UJx",
"receipt_number": "laE4oKT8Wu2eN1YqdZOc4TD",
"statement_descriptor": "ps9EglkfPSfe8CZi1U3mHh8wi",
"status": "void",
"subtotal": "1.69",
"tax": "61.15",
"total": "9.46",
"url": "https://uVaMtUY5dXdo.6e.com/neFgXJ5/ap8"
}
]