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.45",
"amount_paid": "17.81",
"amount_remaining": "34.76",
"attempt_count": 23,
"attempted": false,
"created_at": "2024-09-20T22:41:32.124Z",
"currency": "ZUoOEasVGb",
"customer_email": "pzU8NaFW@fcrjsdp.com",
"customer_id": "R8UmGyOwQt1IVtXNBc8KnMcQf",
"default_payment_method": "ifbMl3UaXZE9w",
"description": "1fgVBttVyS1",
"discounts": [
{
"coupon": {
"amount_off": "33.01",
"deleted": true,
"id": "7uFSsxDoKtWopZYhW8pARY",
"metadata": {},
"name": "XpjGJptaOhUoJLc",
"percent_off": 27
}
}
],
"id": "vUmWnQeUG3Ek9dgjpIN",
"lines": [
{
"amount": "30.28",
"currency": "JsXFeWxoWxDMt3Uqu",
"description": "sS2kncvZw3sOdhIU07I6JBi",
"id": "z",
"invoice_item": "PBGfQ3Ipda4aVYU9cqV",
"metadata": {}
}
],
"metadata": {},
"number": "yQ7SDrw2M",
"paid": true,
"pdf": "https://.VJoGkr9s.com/J02m/cA1u",
"receipt_number": "9Wc11",
"statement_descriptor": "NY1zgKGDMCXR139kQH5gIyGAwFLT",
"status": "open",
"subtotal": "33.65",
"tax": "3.41",
"total": "1.51",
"url": "https://.IBpQOfo6BRc.com/EOL/D5Sbnq6DhLGz"
}
]