Create Payment Collection
POST
/store/:storeCode/payment-collectionsCreate a payment collection for a cart.
HTTP-only in v0.0.25 — there is no `sdk.store.payment.createPaymentCollection` method. Prefer `initiatePaymentSession`, which creates the collection automatically when the cart has none yet.
Path Parameters
storeCoderequiredstringStore slug in the URL (first argument to every SDK store method).
Request Body
Schema
CopyHttpTypes.StoreCreatePaymentCollection
Properties
cart_idrequiredstringCart to create a payment collection for.
Response
Status
200OK
Schema
CopyHttpTypes.StorePaymentCollectionResponse
Properties
payment_collectionrequiredStorePaymentCollectionThe payment collection.