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": "100.99",
    "amount_paid": "54.21",
    "amount_remaining": "69.58",
    "attempt_count": 21,
    "attempted": true,
    "created_at": "2025-01-09T18:26:24.438Z",
    "currency": "d1Au2dOGTMz",
    "customer_email": "d0Clj5@cUd1Rig.com",
    "customer_id": "pd7jP8tlUG",
    "default_payment_method": "GlG03JCZe8bQtT1g",
    "description": "OQY1k1XUqZbWAykXdKwoPU",
    "discounts": [
      {
        "coupon": {
          "amount_off": "38.87",
          "deleted": true,
          "id": "rorwWcAZzl7w0",
          "metadata": {},
          "name": "EFL",
          "percent_off": 3
        }
      }
    ],
    "id": "tBT8F1soYr4hKIO4mKN",
    "lines": [
      {
        "amount": "51.46",
        "currency": "cMm44dxc1d4ZOHSdEbVGvQDWx",
        "description": "m2hcOn19YtdJVbM9DmVd",
        "id": "QRr6aDb5lwBszgsx",
        "invoice_item": "dX3uNFGHdxkf447Utacqjz36qPvq9t",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "pBWbpiNcKLYWAAd2",
    "paid": true,
    "pdf": "https://J4Wf8.dObL0hwcQ.com/AuZ3SlD/IojstwPOZF0O",
    "receipt_number": "KqYBbDrMDqBD",
    "statement_descriptor": "2oP5fyir0P1ShFeQ28h8EMhtOttjv",
    "status": "open",
    "subtotal": "72.84",
    "tax": "59.04",
    "total": "90.19",
    "url": "https://gS9zkSAAzSKh.Sxs2Wv4YZ.com/WSf/vkS"
  }
]