Create a public checkout order
Public storefront endpoint. Create an order from direct items, from the guest cart referenced by X-Scalev-Guest-Token, or from direct items while clearing the referenced guest cart after successful order creation. Direct checkout items are store-scoped and not blocked by storefront listing visibility.
Headers
Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes.
Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads.
Path Parameters
Store unique_id.
Body
200254Storefront payment method code selected by the buyer.
"bank_transfer"
Optional direct item source. If supplied, direct items create the order. If X-Scalev-Guest-Token references a guest cart, that cart is cleared after successful order creation. If omitted, the guest cart referenced by X-Scalev-Guest-Token creates the order.
1 - 50 elements- Option 1
- Option 2
20Response
Public checkout order
Canonical UUIDv7 order primary key returned by the partitioned orders table.
Buyer-facing payment gateway payload. Manual methods such as bank_transfer and cod can return an empty object. Virtual account methods expose provider reference and account details under the provider's payment_method object. QRIS responses expose QR data or a QR image payload. E-wallet, card, and invoice methods may expose provider actions or hosted provider URLs. SingaPay payments use normalized keys such as payment_url, deeplink_url, qr_string, qr_image_url, va_number, and va_name.
"bank_transfer"
E-payment provider. Possible values include xendit, duitku, midtrans, ipaymu, and singapay.

