Checkout

Confirm an optional purchase using the saved card

POST
/v1/public/stores/{storeId}/invoices/{uniqueId}/upsells

Path Parameters

storeId*string
uniqueId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/public/stores/string/invoices/string/upsells" \  -H "Content-Type: application/json" \  -d '{    "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf",    "amountMinor": 0,    "currency": "str",    "confirmed": true  }'
{  "uniqueId": "string",  "invoiceUrl": "string",  "next": {    "type": "redirect",    "url": "string"  }}