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": "51.22",
    "amount_paid": "25.97",
    "amount_remaining": "20.95",
    "attempt_count": 13,
    "attempted": false,
    "created_at": "2024-04-18T22:04:55.466Z",
    "currency": "i",
    "customer_email": "1bvfn47@XHc.com",
    "customer_id": "ZcWXCpxXXX1K",
    "default_payment_method": "8hJ95DlYvTjHcyIHLy",
    "description": "Zx3KW",
    "discounts": [
      {
        "coupon": {
          "amount_off": "32.61",
          "deleted": true,
          "id": "PqsG",
          "metadata": {},
          "name": "eCIrGd1iYjuUe2",
          "percent_off": 10
        }
      }
    ],
    "id": "Tk",
    "lines": [
      {
        "amount": "2.14",
        "currency": "y",
        "description": "PbumwSDzzh4fg",
        "id": "Fv",
        "invoice_item": "F0IXA4IPp",
        "metadata": {}
      }
    ],
    "metadata": {},
    "number": "RlnkfMtEIOzo742dpqz",
    "paid": true,
    "pdf": "https://gu1ZG.9SJmcrwm.com/b8dIROJfW8P/MMy3tgBX",
    "receipt_number": "3ZhE",
    "statement_descriptor": "pjEzn",
    "status": "void",
    "subtotal": "17.96",
    "tax": "69.74",
    "total": "0.39",
    "url": "https://.dxoj.com/IPr0XZ/kxpYnz"
  }
]