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": "60.45",
"amount_paid": "46.51",
"amount_remaining": "52.56",
"attempt_count": 16,
"attempted": true,
"created_at": "2024-09-19T16:12:15.403Z",
"currency": "G55MSDX",
"customer_email": "U@MRsipM.com",
"customer_id": "MRYKLmyQm4wSS",
"default_payment_method": "DRTnAXB",
"description": "H",
"discounts": [
{
"coupon": {
"amount_off": "20.53",
"deleted": false,
"id": "E",
"metadata": {},
"name": "O",
"percent_off": 18
}
}
],
"id": "4wKIam3nPm7BYaPfu2xbEM1km6",
"lines": [
{
"amount": "65.00",
"currency": "9cbqvjRMFFlNdx5Tolz1NNs",
"description": "NA7r5gY",
"id": "R44kR98Cpe1DZ40rQnTQSXucuFRO",
"invoice_item": "sf0tKYU",
"metadata": {}
}
],
"metadata": {},
"number": "BKk63B",
"paid": true,
"pdf": "https://RKoBUjdm.1O1uvwPD.com/5UR8Jq/",
"receipt_number": "68C",
"statement_descriptor": "JlW336qzbMSlf3gOS43bd",
"status": "void",
"subtotal": "71.08",
"tax": "73.45",
"total": "68.30",
"url": "https://6ER.yNHKae.com/RA08/tz7n4HnR"
}
]