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": "80.28",
"amount_paid": "62.20",
"amount_remaining": "41.79",
"attempt_count": 16,
"attempted": false,
"created_at": "2025-01-07T20:44:09.083Z",
"currency": "DafpvN2YvEI5HZx9j1",
"customer_email": "oS1npi@yLZ2.com",
"customer_id": "KTEsfltuAZGpmcU9LVcFRPe7oUca",
"default_payment_method": "xnt7i8apvRXWJzy",
"description": "zyodF99eHeGWYtdI",
"discounts": [
{
"coupon": {
"amount_off": "55.55",
"deleted": true,
"id": "m3fl9",
"metadata": {},
"name": "Jg5sNOoSla2kYJlIl3NX",
"percent_off": 4
}
}
],
"id": "L",
"lines": [
{
"amount": "35.06",
"currency": "hCriYe63PuXGmTZfBNo4SBwA4g2N",
"description": "3zDf",
"id": "jr5qaHkDL69X",
"invoice_item": "UzLt5mR3iNep94wDOQVsfxS2IQdIl",
"metadata": {}
}
],
"metadata": {},
"number": "ONfy4ZsR5",
"paid": true,
"pdf": "https://1fIspfPW.DnxTn53qyT.com/K2183S/6tQy",
"receipt_number": "caN8",
"statement_descriptor": "NqlXdUKqEtg0MWrii8Vqx",
"status": "void",
"subtotal": "48.87",
"tax": "15.43",
"total": "73.87",
"url": "https://aBEjzxmzb.RuPw.com/fHu75LBOq/0vNP"
}
]