Browse playground
Payclave API playground
Endpoints
POST
/v1/checkout-sessions
Create a checkout session
Creates a hosted checkout session and a linked invoice. Open the returned checkoutUrl to pay.
Parameters
Required positive value with up to 6 decimal places.
Your order or invoice reference.
Changes the simulated payment result.
Reuse for retries. Choose New for a separate request.
Add a secret key in Test keys to run this request.
Use an Idempotency-Key with 1–255 ASCII characters and no surrounding whitespace.
Button SDK
import { PayclaveCheckoutButton } from "@payclave/sdk-react"