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": "18.25",
"amount_paid": "13.92",
"amount_remaining": "84.21",
"attempt_count": 25,
"attempted": false,
"created_at": "2024-09-19T16:12:22.948Z",
"currency": "yZMoV",
"customer_email": "xTYKWvbgGw@yID.com",
"customer_id": "Emut5RNHNYAfQjrVV1LNdAg",
"default_payment_method": "VvFaUp02wIk0iYgoBo",
"description": "BdZy3lv2ThEkYIfTkFgE",
"discounts": [
{
"coupon": {
"amount_off": "23.86",
"deleted": false,
"id": "djadFV3KiOyMuMIxw",
"metadata": {},
"name": "CCEliQ3Nc2f7xgmG0kzso",
"percent_off": 12
}
}
],
"id": "RlGwW",
"lines": [
{
"amount": "93.50",
"currency": "TzX",
"description": "cnUzlSIKohB",
"id": "HdIOWfzI8r53X3",
"invoice_item": "BaJIidWncbNle2kH",
"metadata": {}
}
],
"metadata": {},
"number": "FcmKCTAM5Mw5N",
"paid": true,
"pdf": "https://.cKGof.com/3Z2uy0hkIq/k5",
"receipt_number": "frXt3YulLQ88UUKwUgiUcyjTOMbQPX",
"statement_descriptor": "msK",
"status": "open",
"subtotal": "67.72",
"tax": "64.36",
"total": "26.46",
"url": "https://7CHVg.C8NNQd36C6.com/biTA6c/"
}
]