Retrieve a payment link's line items

GET https://us-central1-appgregator.cloudfunctions.net/stripe/payment-links/:id/

Query Parameters

Name
Type
Description

name*

String

ft-4

connection_name*

String

stripe-1

limit

Integer

1

Headers

Name
Type
Description

x-api-key*

String

XXX

{
    "object": "list",
    "data": [
        {
            "id": "li_MOq1iGeFRtPbpk",
            "object": "item",
            "amount_discount": 0,
            "amount_subtotal": 2000,
            "amount_tax": 0,
            "amount_total": 2000,
            "currency": "usd",
            "description": "appgre-test1",
            "price": {
                "id": "price_1Lg2KeIyq0PiFIhU3n6rbMAx",
                "object": "price",
                "active": true,
                "billing_scheme": "per_unit",
                "created": 1662711180,
                "currency": "usd",
                "custom_unit_amount": {
                    "maximum": 20000,
                    "minimum": 2000,
                    "preset": 2000
                },
                "livemode": false,
                "lookup_key": null,
                "metadata": {},
                "nickname": null,
                "product": "prod_MOq0B9XwBtcVyK",
                "recurring": null,
                "tax_behavior": "unspecified",
                "tiers_mode": null,
                "transform_quantity": null,
                "type": "one_time",
                "unit_amount": null,
                "unit_amount_decimal": null
            },
            "quantity": 1
        }
    ],
    "has_more": false,
    "url": "/v1/payment_links/plink_1Lg2L9Iyq0PiFIhU2yzlNb3J/line_items"
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/stripe/payment-links/plink_1Lg2L9Iyq0PiFIhU2yzlNb3J/line_items?name=ft-4&connection_name=stripe-1&limit=1' \
--header 'x-api-key: XXX'

Last updated