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": "74.01",
"amount_paid": "53.15",
"amount_remaining": "7.93",
"attempt_count": 12,
"attempted": true,
"created_at": "2024-04-29T19:59:47.590Z",
"currency": "pbRnz9nGthpm8ztGXAmg72Ux",
"customer_email": "BbqoOh8s@Vu96NL3.com",
"customer_id": "i9Bh",
"default_payment_method": "MIEbLv",
"description": "hIpHiVV8I8r9p1WtM37",
"discounts": [
{
"coupon": {
"amount_off": "19.44",
"deleted": true,
"id": "8XMbJMz5pRH6O6y",
"metadata": {},
"name": "J7wsv5i6PnG9pU4NKP8jppdWi",
"percent_off": 29
}
}
],
"id": "UURAbhD",
"lines": [
{
"amount": "66.69",
"currency": "tolOxhSzBrd8CAr19GKVIDe7Z",
"description": "0xqOODJWVh",
"id": "f0m5zk",
"invoice_item": "o8y55C0KTE2wbKC",
"metadata": {}
}
],
"metadata": {},
"number": "2XLKMuT3cZ37cd",
"paid": false,
"pdf": "https://xD.5.com/ITL7uPYik/GCAj",
"receipt_number": "N7x2zvWNbbAxK0W",
"statement_descriptor": "t7sjx",
"status": "open",
"subtotal": "87.03",
"tax": "90.32",
"total": "15.12",
"url": "https://HaXrS1OVg.l4dbJWN.com/D5dYI4V3y/"
}
]