Overview
Before initializing the checkout SDK, you must create a payment request via the API and obtain itsid. The requestId is a required parameter in the paymentUrl passed to CaiboCheckout.init(). The accompanying token is obtained in the next step (Mint a Checkout Session Token).
This call is made from your backend so your
X-API-Key is never exposed to the browser. The returned payment request id is the value you’ll use as requestId in the SDK.Endpoint
Sample Request Body
Field Reference
Use the Response
The response includes the payment requestid. Pass that value as requestId when constructing the paymentUrl for CaiboCheckout.init(). Pair it with a freshly minted checkout session token:
Next Steps
- Mint a Checkout Session Token — required server-side step before opening the iframe.
- Quick Start — Inline & Modal
- SDK API Reference

