Update an existing checkout session using the client secret.
Field | Type | Required | Description |
---|---|---|---|
CustomFieldData |
map[string]components.CheckoutUpdatePublicCustomFieldData | ➖ | Key-value object storing custom field values. |
ProductPriceID |
*string | ➖ | ID of the product price to checkout. Must correspond to a price linked to the same product. |
Amount |
*int64 | ➖ | N/A |
CustomerName |
*string | ➖ | N/A |
CustomerEmail |
*string | ➖ | N/A |
CustomerBillingAddress |
*components.Address | ➖ | N/A |
CustomerTaxID |
*string | ➖ | N/A |
DiscountCode |
*string | ➖ | Discount code to apply to the checkout. |