API → PaymentsList invoices for your user

Parameters

No parameters

Returns

get
/user/payment/invoices
$ curl "https://api.zoo.dev/user/payment/invoices" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
[
  {
    "amount_due": "42.70",
    "amount_paid": "11.03",
    "amount_remaining": "29.06",
    "attempt_count": 16,
    "attempted": false,
    "created_at": "2025-04-17T14:09:34.078Z",
    "currency": "mZrN25UUy3G6ZRl8spybRctU",
    "customer_email": "H2KMTLQ@OKJMVN.com",
    "customer_id": "NjCnSYAcMy3Rx86",
    "default_payment_method": "BOuMj1L5JCu",
    "description": "5dQlCoEB0iXtl",
    "discounts": [
      {
        "coupon": {
          "amount_off": "76.66",
          "deleted": false,
          "id": "zZhM6zIoVgDnqk0G0EVQ4Tvrpu",
          "metadata": {},
          "name": "3T0fRJY45gvH",
          "percent_off": 23
        }
      }
    ],
    "id": "ys6JMo4RYfrwALPcaohi4",
    "lines": [
      {
        "amount": "15.97",
        "currency": "P6y6eCaH",
        "description": "wM1byMInM7rvPUrpJDta9WAOI",
        "id": "vcf",
        "invoice_item": "abqZcxDHEENziQlPn0",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "",
    "paid": false,
    "pdf": "https://GlsX0.m.com//Wi",
    "receipt_number": "LvrO0mc7SSg7jCQ1lGBZNYY",
    "statement_descriptor": "QeLnttFz5fwfzb",
    "status": "void",
    "subtotal": "91.85",
    "tax": "35.38",
    "total": "60.90",
    "url": "https://4.loaf63r.com/gf8YcFjaAw/mn"
  }
]