API → Payments → List invoices for your user
get
/user/payment/invoices$ curl "https://api.zoo.dev/user/payment/invoices" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response[
{
"amount_due": "17.09",
"amount_paid": "11.78",
"amount_remaining": "90.34",
"attempt_count": 18,
"attempted": false,
"created_at": "2024-07-27T01:16:08.483Z",
"currency": "GClLHB4qv7PH",
"customer_email": "8vC@.com",
"customer_id": "SiVa48h98aplMMTnTZ9mQzr9bRu8",
"default_payment_method": "zNyrWmqDUnjCcx0",
"description": "hJR6t6eQg",
"discounts": [
{
"coupon": {
"amount_off": "8.56",
"deleted": false,
"id": "abcDG",
"metadata": {},
"name": "PeGQkaLfaVpjnS3VcbPb3",
"percent_off": 6
}
}
],
"id": "HeKQri8Dos6SoET5lhYKA076a",
"lines": [
{
"amount": "62.42",
"currency": "SaIlAPIFIUpDZOtz9uMikL",
"description": "gAaC6Qd1YdPzapwNQPPDej7XcsE",
"id": "y3fuqwbQJD2Qdn",
"invoice_item": "Njp65h5ecc23hR",
"metadata": {}
}
],
"metadata": {},
"number": "LMys5FnTzOYPrbp",
"paid": false,
"pdf": "https://rSQE9Paks.4B1y.com/K/pr9V25p",
"receipt_number": "dkuxF3qfKumPj",
"statement_descriptor": "gIxpbiBB4zSLtfzwRTHZ7lD23VIzj3",
"status": "paid",
"subtotal": "39.58",
"tax": "22.28",
"total": "96.09",
"url": "https://wobyArR.NdDOB1WdUpLP.com/ddTvnAAKzoA/PCYEPf"
}
]