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": "68.54",
    "amount_paid": "18.12",
    "amount_remaining": "40.44",
    "attempt_count": 25,
    "attempted": true,
    "created_at": "2024-04-18T22:05:09.507Z",
    "currency": "Wzz29DepxHPKrYqlNlFb8kD3ye7",
    "customer_email": "cXEf1UD@j2oAEK19.com",
    "customer_id": "40FOXGqo1e8lgTmpJd0he2ctKa4pCg",
    "default_payment_method": "7zWYUVt9eSgQ8GGpIXjnV4",
    "description": "Vs",
    "discounts": [
      {
        "coupon": {
          "amount_off": "68.50",
          "deleted": true,
          "id": "O4jJx7IG5yXqcEsK19",
          "metadata": {},
          "name": "Oj4nc8MwJZdFjKDGoLD",
          "percent_off": 26
        }
      }
    ],
    "id": "0DsMIYc4r",
    "lines": [
      {
        "amount": "88.05",
        "currency": "Uv8gtd48egYIaRqXqKbIggN2oQcBW",
        "description": "3XduM",
        "id": "M2YA6icixaL4IYPT",
        "invoice_item": "D3lMF",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "YrjE5eWSRvG8",
    "paid": false,
    "pdf": "https://.jLijru.com/1nuAE/LIu",
    "receipt_number": "",
    "statement_descriptor": "C3h",
    "status": "draft",
    "subtotal": "88.04",
    "tax": "49.67",
    "total": "89.70",
    "url": "https://UFI8XZvsIpa.GWsLNulZ.com/Gy/vnU"
  }
]