Skip to main content

HostedButtonLineItem

namestringnullable

Merchant-entered description for a custom fixed-amount line without priceId (max 255 characters).

priceIdstringnullable

Catalog price identifier. Required for catalog lines; must not be sent with name or unitPrice.

quantityinteger<int32>

Possible values: >= 1

unitPriceinteger<int64>nullable

Fixed unit price in minor units of the link's currency for a custom line without priceId. Must not be sent with priceId; a custom line has quantity 1 and cannot be combined with catalog lines, openAmount, or createSubscription.

HostedButtonLineItem
{
"name": "string",
"priceId": "string",
"quantity": 0,
"unitPrice": 0
}