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": "24.32",
"amount_paid": "72.98",
"amount_remaining": "94.77",
"attempt_count": 9,
"attempted": false,
"created_at": "2024-04-29T20:00:01.477Z",
"currency": "G342dYIw0kHhVSK8A1dSjjy4zXAjI9",
"customer_email": "Y6lp@gj.com",
"customer_id": "zv59QftxEjmRv",
"default_payment_method": "s4dR71a2WSbweDBu67Bv8jYF9E",
"description": "oJ1u6Vle",
"discounts": [
{
"coupon": {
"amount_off": "41.66",
"deleted": false,
"id": "OYj5MKrKMH3k8lvwFBL1ZklOZNN",
"metadata": {},
"name": "mA75d4j6qgJWIzY",
"percent_off": 24
}
}
],
"id": "kJbzfM85JcktsuODwGmVDEDY",
"lines": [
{
"amount": "35.59",
"currency": "yOH",
"description": "D",
"id": "V36NHaLYklQNYvebinIKX86",
"invoice_item": "Mp2uDe78c8rdn7k4p",
"metadata": {}
}
],
"metadata": {},
"number": "Q3jyvEY8HvLrxPF",
"paid": false,
"pdf": "https://f0I.7nBK0.com/4nmec/KxzyiL",
"receipt_number": "AOIQEhe3AstO7d",
"statement_descriptor": "SFWUEpIA",
"status": "void",
"subtotal": "50.05",
"tax": "50.05",
"total": "61.67",
"url": "https://TB4S1b5oiD.P.com/Vx4/6"
}
]