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": "30.40",
    "amount_paid": "52.14",
    "amount_remaining": "13.03",
    "attempt_count": 14,
    "attempted": true,
    "created_at": "2025-02-27T21:31:11.543Z",
    "currency": "b7DYmUZa",
    "customer_email": "WnS@KMRDQFo.com",
    "customer_id": "CjONNMWWhV",
    "default_payment_method": "m3CC3nhSo0CEeLfQwA4V65XsjJ8XF",
    "description": "ByT",
    "discounts": [
      {
        "coupon": {
          "amount_off": "59.64",
          "deleted": false,
          "id": "xpIlkAoruOCzTAYyI9Utf6t5a0RY",
          "metadata": {},
          "name": "N7O9JM9g4LGIGjIzRGVq7",
          "percent_off": 23
        }
      }
    ],
    "id": "Sx3KMCGJUya2CncL8H",
    "lines": [
      {
        "amount": "16.70",
        "currency": "biFSSqrDhbxvvM3lz",
        "description": "9fzn74",
        "id": "iML",
        "invoice_item": "lEM9l3NkDKsSLFOCt",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "wugD0ML0A8kPVtOT4z33",
    "paid": true,
    "pdf": "https://FuGZ4Xv.y.com//72JjAsQQJf5B",
    "receipt_number": "vccDLTTFnvEQxmX3EncDCo7lJL",
    "statement_descriptor": "",
    "status": "draft",
    "subtotal": "20.79",
    "tax": "14.39",
    "total": "50.44",
    "url": "https://Q2h6.zpLWt.com/1/Q"
  }
]