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": "75.32",
"amount_paid": "17.19",
"amount_remaining": "70.15",
"attempt_count": 15,
"attempted": true,
"created_at": "2024-09-07T21:57:01.124Z",
"currency": "SvRsn5FN0T",
"customer_email": "wL4@PvTfxyvA.com",
"customer_id": "j8qZ5DLCr82as",
"default_payment_method": "mlnQd",
"description": "Nju97fwE6d6HXQB7GXbqFbibPY",
"discounts": [
{
"coupon": {
"amount_off": "37.35",
"deleted": false,
"id": "zFi",
"metadata": {},
"name": "FBs0Zcn",
"percent_off": 27
}
}
],
"id": "ZAJr4FkNiuUefYFLSfiBEEI",
"lines": [
{
"amount": "10.07",
"currency": "fbhNga9dUkyHEHVisi46XPQ",
"description": "edflZDk12EroXLiVC0",
"id": "X98nfgm04D5t",
"invoice_item": "CpoRNqsSCUrbBywetR177MlMMd",
"metadata": {}
}
],
"metadata": {},
"number": "9DlQdrNPeojGHjnH",
"paid": false,
"pdf": "https://2r7LAGCz.Vjk.com/J/Se4ke",
"receipt_number": "TVBw4OYu28izXTQq",
"statement_descriptor": "mLJC0Ge7ZE",
"status": "draft",
"subtotal": "51.62",
"tax": "95.10",
"total": "73.12",
"url": "https://vMOqjh1.IkB.com/hUcAbS/mOytXulvKa"
}
]