Documentation Index
Fetch the complete documentation index at: https://docs.caibo.digital/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Before initializing the checkout SDK, you must create a payment request via the API and obtain itsid. The merchantId and requestId are required parameters in the paymentUrl passed to CaiboCheckout.init().
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
| Field | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Total amount to charge. |
unit | string | Yes | ISO 4217 currency code (e.g. EUR, USD). |
referenceId | string | No | Your internal order identifier; echoed back on webhooks. |
notifyUrl | string | No | Server-to-server webhook URL for status updates. |
successUrl | string | No | URL the SDK delivers in the payment.success event payload. |
failureUrl | string | No | URL the SDK delivers in the payment.failure event payload. |
originDomain | string | No | Origin allow-list entry that must match the page hosting the SDK iframe. |
client | object | No | Optional customer details prefilled into the checkout UI. |
Use the Response
The response includes the payment requestid. Pass that value as requestId when constructing the paymentUrl for CaiboCheckout.init():

