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": "29.86",
    "amount_paid": "41.35",
    "amount_remaining": "95.11",
    "attempt_count": 4,
    "attempted": true,
    "created_at": "2025-03-12T01:37:03.651Z",
    "currency": "I",
    "customer_email": "leW7n@i2isa3dZBy.com",
    "customer_id": "W",
    "default_payment_method": "7z7qk1",
    "description": "0hhw89VX",
    "discounts": [
      {
        "coupon": {
          "amount_off": "38.53",
          "deleted": false,
          "id": "y4mLlqBm7dsTiXcwml",
          "metadata": {},
          "name": "U",
          "percent_off": 23
        }
      }
    ],
    "id": "XfZNuPLNmnTbJl1",
    "lines": [
      {
        "amount": "89.65",
        "currency": "Lhlawz35LGnsDkyRYCPLdsZqBbYlxb",
        "description": "nOzgIe4IP",
        "id": "8Ag8TOIP7aiIxjhUWRFfIgOh70dZ0n",
        "invoice_item": "nLV",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "ZBN7aXxoOp2vZyK9pKnoxSbk",
    "paid": true,
    "pdf": "https://h0W.UpIm4.com/SAAN1W/8jWwsI4HT",
    "receipt_number": "3DOkmPBs90zeBH0Q5SZ8UPa5zyrnVE",
    "statement_descriptor": "uMmDzCrp4TbQ",
    "status": "draft",
    "subtotal": "28.61",
    "tax": "67.59",
    "total": "33.49",
    "url": "https://oL2AgF.N9wn7vbW0.com/AabsdenfoDx/0JwHUjJDX"
  }
]