PaidGoods

Create the invoice and start paying

POST
/v1/public/stores/{storeId}/checkout

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/public/stores/string/checkout" \  -H "Content-Type: application/json" \  -d '{    "lines": [      {        "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf",        "qty": 1      }    ],    "email": "user@example.com",    "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011"  }'
{  "uniqueId": "string",  "invoiceUrl": "string",  "next": {    "type": "redirect",    "url": "string"  }}