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": "45.49",
    "amount_paid": "18.05",
    "amount_remaining": "66.54",
    "attempt_count": 18,
    "attempted": true,
    "created_at": "2025-04-21T20:02:06.541Z",
    "currency": "",
    "customer_email": "xw1I4E1q@9OPpeqWukD.com",
    "customer_id": "8BgstN54v5no",
    "default_payment_method": "4XOYwR4h",
    "description": "jTjKaRS2vHSR1nFkCZq7",
    "discounts": [
      {
        "coupon": {
          "amount_off": "57.59",
          "deleted": true,
          "id": "3Idmkr9l3kz1w5OXfx",
          "metadata": {},
          "name": "Fmwoh7kj2hmJfFk7JXs",
          "percent_off": 9
        }
      }
    ],
    "id": "H1qiFsa2qagy",
    "lines": [
      {
        "amount": "89.83",
        "currency": "wWQSGZIeDBXwPngkGoARhgrsJgagv",
        "description": "fD2y3ImAwa",
        "id": "I",
        "invoice_item": "O6SHrtMfzvalUqsOuG24rpph",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "YVi0k0rRGuM5jKNgNP57MPyvmOGzm",
    "paid": true,
    "pdf": "https://ovWYOCE.dbKVwiWJnxu.com/Ihe0x9aQ/YUbttQbQi",
    "receipt_number": "y2wGuMdjhx77fImgw",
    "statement_descriptor": "cm",
    "status": "open",
    "subtotal": "89.23",
    "tax": "66.81",
    "total": "96.29",
    "url": "https://4U3Q4uEUd3.3YitEcA0SAp.com/Lv/mCKDnU"
  }
]