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": "88.56",
"amount_paid": "18.86",
"amount_remaining": "9.82",
"attempt_count": 8,
"attempted": true,
"created_at": "2024-07-27T01:16:00.929Z",
"currency": "lhUF",
"customer_email": "GlfA@qme4YlGyeD.com",
"customer_id": "brrYACF2lhBDXdpQxURsMVgug4",
"default_payment_method": "WBHalq",
"description": "TCaEA7NyHtYDF1XawoZubo0n20b9sU",
"discounts": [
{
"coupon": {
"amount_off": "17.95",
"deleted": false,
"id": "FI7A3YewRNuN9RexJBzVz1aTaI",
"metadata": {},
"name": "DAHLhXnaidnY1t",
"percent_off": 2
}
}
],
"id": "fD54fI32XS1HAUmhTPcm0zGzG",
"lines": [
{
"amount": "79.65",
"currency": "7NWYRtZ9wDFlRE54",
"description": "4J50Aa8I4V",
"id": "Bo",
"invoice_item": "K0",
"metadata": {}
}
],
"metadata": {},
"number": "fCVa",
"paid": true,
"pdf": "https://u1Fcng.m2N.com/kOoi/FKPOY9piI",
"receipt_number": "B2AjSToIZV0NB7fyPS",
"statement_descriptor": "1sGX88TXQiqkRIkyf6P",
"status": "open",
"subtotal": "83.75",
"tax": "31.24",
"total": "81.93",
"url": "https://1SC..com/Wfuhg0Jg7/GcRMc5pAO"
}
]