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": "18.58",
    "amount_paid": "33.12",
    "amount_remaining": "90.13",
    "attempt_count": 17,
    "attempted": false,
    "created_at": "2025-02-27T21:30:52.042Z",
    "currency": "YDbxp1xrVX9TTZtPb",
    "customer_email": "@LVyslyde.com",
    "customer_id": "NMfG",
    "default_payment_method": "",
    "description": "2qduz7ltGln9aZKGgon2bra",
    "discounts": [
      {
        "coupon": {
          "amount_off": "20.61",
          "deleted": false,
          "id": "Rt8FDb8YHr6O5X5q4tlz0Vh",
          "metadata": {},
          "name": "XMRozUgHHg1GUagA0XzGZ",
          "percent_off": 17
        }
      }
    ],
    "id": "whq61ZsNKwCfaXcq0In",
    "lines": [
      {
        "amount": "51.19",
        "currency": "uxDl0V46uifsgdQgfjA2Ttb",
        "description": "zRYG2LnUFdN80oUmSKIrLji",
        "id": "1pIU5k",
        "invoice_item": "GLLofxkt7",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "OjRYb7Vya12RN",
    "paid": false,
    "pdf": "https://tuP.gKN6cY32.com//ryIhwef",
    "receipt_number": "h3YGj7bih",
    "statement_descriptor": "sF0uvZlKx3zu",
    "status": "draft",
    "subtotal": "50.50",
    "tax": "32.13",
    "total": "39.42",
    "url": "https://vMeqWlQLl0h.K1Hj1fD.com/wz/YV"
  }
]