API → PaymentsList invoices for your org

Parameters

No parameters

Returns

get
/org/payment/invoices
$ curl "https://api.zoo.dev/org/payment/invoices" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
[
  {
    "amount_due": "21.45",
    "amount_paid": "27.63",
    "amount_remaining": "59.99",
    "attempt_count": 9,
    "attempted": false,
    "created_at": "2025-01-17T16:13:38.443Z",
    "currency": "ICKb9PaPgFO1iSIIVG4p",
    "customer_email": "5@nMBZwnCe.com",
    "customer_id": "iZkfUJnHXscZuYnp",
    "default_payment_method": "ajJdYs",
    "description": "zgbgAw0vwAjHYXKYinTmg",
    "discounts": [
      {
        "coupon": {
          "amount_off": "72.62",
          "deleted": true,
          "id": "tNVdVyI1z7LnfaPpIvLuc",
          "metadata": {},
          "name": "V9kiEdqUNuk",
          "percent_off": 23
        }
      }
    ],
    "id": "Lflk9DrAvrXQjmwjlwVh",
    "lines": [
      {
        "amount": "67.94",
        "currency": "XdG",
        "description": "FKkcnER",
        "id": "TyECCTDM850otKGdltj9",
        "invoice_item": "U3ASnr0B",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "h",
    "paid": true,
    "pdf": "https://KX..com/98l8sHYync/mlkRA",
    "receipt_number": "i8JSgVIZkriUPOjb6rgQnM5eedO",
    "statement_descriptor": "2xrAZ6N0yEO3psIT9",
    "status": "void",
    "subtotal": "92.15",
    "tax": "28.22",
    "total": "25.17",
    "url": "https://Tp.mIUWSNkzDW1o.com/gSL/PwDZ"
  }
]