List all invoice items

GET https://us-central1-appgregator.cloudfunctions.net/stripe/invoices-items/

Query Parameters

Name
Type
Description

name*

String

ft-4

connection_name*

String

stripe-1

limit

1

Headers

Name
Type
Description

x-api-key*

String

XXX

{
    "object": "list",
    "data": [
        {
            "id": "ii_1MYnh7Iyq0PiFIhUkVrsWrLC",
            "object": "invoiceitem",
            "amount": 2000,
            "currency": "usd",
            "customer": "cus_MQqeLuPp19Qbk8",
            "date": 1675762953,
            "description": null,
            "discountable": true,
            "discounts": [],
            "invoice": "in_1MYnhJIyq0PiFIhUFeI3wMrp",
            "livemode": false,
            "metadata": {},
            "period": {
                "end": 1675762953,
                "start": 1675762953
            },
            "plan": null,
            "price": {
                "id": "price_1MYnh7Iyq0PiFIhUOssRW0Js",
                "object": "price",
                "active": false,
                "billing_scheme": "per_unit",
                "created": 1675762953,
                "currency": "usd",
                "custom_unit_amount": null,
                "livemode": false,
                "lookup_key": null,
                "metadata": {},
                "nickname": null,
                "product": "prod_NJQYBIRDcjz2jR",
                "recurring": null,
                "tax_behavior": "unspecified",
                "tiers_mode": null,
                "transform_quantity": null,
                "type": "one_time",
                "unit_amount": 2000,
                "unit_amount_decimal": "2000"
            },
            "proration": false,
            "quantity": 1,
            "subscription": null,
            "tax_rates": [],
            "test_clock": null,
            "unit_amount": 2000,
            "unit_amount_decimal": "2000"
        }
    ],
    "has_more": true,
    "url": "/v1/invoiceitems"
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/stripe/invoices-items?name=ft-4&connection_name=stripe-1&limit=1' \
--header 'x-api-key: XXX'

Last updated