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": "72.39",
    "amount_paid": "48.61",
    "amount_remaining": "31.23",
    "attempt_count": 4,
    "attempted": false,
    "created_at": "2025-01-17T16:13:51.027Z",
    "currency": "hjVhDKo4Fy9xyCaDz",
    "customer_email": "fUvJp@4dOKGNbn1.com",
    "customer_id": "9PQPObhplQV",
    "default_payment_method": "CSUcWjgcN1qMXNb0aYTrY4Sf3ICA",
    "description": "",
    "discounts": [
      {
        "coupon": {
          "amount_off": "12.55",
          "deleted": true,
          "id": "kxBwZt3gT47lrNxAi",
          "metadata": {},
          "name": "YvX9zJA",
          "percent_off": 28
        }
      }
    ],
    "id": "jZXcptklPuHRw3Kxc",
    "lines": [
      {
        "amount": "24.79",
        "currency": "ciCy2GGQC",
        "description": "Egj7mDjl8ijaWY",
        "id": "pW64gCA7",
        "invoice_item": "yAuGhMw2SM",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "XRoDd5MPIZdyFYqm3ieq14vn",
    "paid": true,
    "pdf": "https://jXwMSscM.Tm7Vh7Eu7i.com/h/p",
    "receipt_number": "KDoX1vNC",
    "statement_descriptor": "fvymdc2xogih",
    "status": "uncollectible",
    "subtotal": "61.79",
    "tax": "51.95",
    "total": "7.37",
    "url": "https://ylMmgt.3776l.com/9IRIYnK7i8u/z1"
  }
]