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": "41.05",
    "amount_paid": "15.12",
    "amount_remaining": "61.22",
    "attempt_count": 25,
    "attempted": true,
    "created_at": "2025-04-25T16:39:48.868Z",
    "currency": "bYopKj4vnio2VxES",
    "customer_email": "6Gfty9@Bz.com",
    "customer_id": "Ug9EDvv1RGF2Ytpt44eilLe",
    "default_payment_method": "rkLxYWL6V8V85",
    "description": "7FmF",
    "discounts": [
      {
        "coupon": {
          "amount_off": "93.21",
          "deleted": true,
          "id": "0VjqD1kyAKsMqCZXuxmHUXpV",
          "metadata": {},
          "name": "kKyggCe5LA4hRXL38R7rBhp",
          "percent_off": 25
        }
      }
    ],
    "id": "vjadfeYQnAa8ov",
    "lines": [
      {
        "amount": "5.73",
        "currency": "qCeK53UZbWyj48w7aLm",
        "description": "bvR",
        "id": "Wd3dXciHMVdeq",
        "invoice_item": "2c4vd69d7Q1fJhUrSK4",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "6yYTRPGu",
    "paid": true,
    "pdf": "https://QG6VvUV9.CvIbN9rm.com/tbzfpQl/2HKEdBoA",
    "receipt_number": "skiffOVcrYHZSdy22cMhZ6lSTD7pXJ",
    "statement_descriptor": "qLVk6fIuDJbQ0YhEqHtt1",
    "status": "void",
    "subtotal": "60.00",
    "tax": "91.76",
    "total": "67.03",
    "url": "https://2iA.N7rdEc89Nde.com/YraUlBZeij/HyqC6q7Nc0"
  }
]