Skip to main content
GET
/
getInvoiceItems
getInvoiceItems
curl --request GET \
  --url https://alphainsider.com/api/getInvoiceItems \
  --header 'Authorization: <authorization>'
{
  "success": true,
  "response": [
    {
      "item_id": "CIgS_MNX2BjggL2QIEJkb",
      "user_id": "user_1",
      "product_id": "qkV9qPfpxr4wWMaZKprdI",
      "invoice_id": "NJ9Fo2OSoM5MRy5ithwnw",
      "amount": "5000",
      "price": 5000,
      "start_date": "2024-10-22T20:59:22.304Z",
      "end_date": "2024-11-22T20:59:22.309Z",
      "updated_at": "2024-10-22T20:59:22.304Z",
      "created_at": "2024-10-22T20:59:22.304Z",
      "amount_refunded": "0",
      "name": "Pro Account Monthly Subscription",
      "type": "account",
      "type_id": null
    }
  ]
}

Headers

Authorization
string<JWT>
required

User API token.

Query Parameters

invoice_id
string
required

Invoice ID.

Response

Request was successful.