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": "2.31",
    "amount_paid": "39.57",
    "amount_remaining": "37.37",
    "attempt_count": 20,
    "attempted": true,
    "created_at": "2025-01-10T17:01:21.015Z",
    "currency": "QlIQzudYQS",
    "customer_email": "ew9mgq1@.com",
    "customer_id": "zvXq5hchlZrMHwlTDkBwu",
    "default_payment_method": "JO",
    "description": "nz58",
    "discounts": [
      {
        "coupon": {
          "amount_off": "28.95",
          "deleted": false,
          "id": "nrnT1E8HMNjNm",
          "metadata": {},
          "name": "9f",
          "percent_off": 11
        }
      }
    ],
    "id": "fTkBiS3",
    "lines": [
      {
        "amount": "46.57",
        "currency": "oIUyv0xzkW9t63xBVbp9wUR",
        "description": "kLC4hu3eZP7VJDxIVQ0BsVdJj",
        "id": "D3V8jJH0PpfIAdTWZs",
        "invoice_item": "nqcQWZspmZb3nM9qeXOjVaU",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "z",
    "paid": false,
    "pdf": "https://fwuBn5554O.ckoka7y.com/xgov5MP/4IevM7Y6kRRF",
    "receipt_number": "uD4Lj6fXoaVnuCqX0Ialj0MemKdHz6",
    "statement_descriptor": "J0ZPCuN6tBZY",
    "status": "paid",
    "subtotal": "14.45",
    "tax": "86.19",
    "total": "8.39",
    "url": "https://5o.5YeapBRxAql.com//"
  }
]