Payclave developers
API reference
Browse merchant API resources, request fields, response contracts, and examples.
Choose a resource to see its endpoints, request fields, response contracts, and examples. All requests target https://api.payclave.com. Keep secret API keys on your server.
Start with hosted checkout
Create a checkout session, save its identifiers, and open the returned checkout URL. Fulfill orders after verified payment confirmation. Feature access depends on your merchant and mode.
Checkout sessions
Create hosted checkout and read verified payment progress.
Invoices and refunds
Create and issue invoices, manage collection, and record merchant-sent refunds.
Payment links
Configure shareable payment pages and their lifecycle.
Webhooks
Manage endpoints, delivery attempts, secret rotation, and replay.
Public checkout
Read customer-safe records and start recovery checkout or x402 payment.
Payer instructions
Prepare wallet instructions and submit evidence for independent verification.
Subscriptions
Schedule recurring invoices and manage pause, resume, and cancellation.
Marketplace collections
Collect direct payments for authorized recipient wallets.
Reconciliation and receipts
Read reporting summaries, signed receipts, and downloadable exports.
Diagnostics
Inspect checkout stages, reasons, and session timelines.
Paid API requests
Prepare, claim and record paid server actions with enabled merchant access.
The OpenAPI document covers core operations. The resource pages include the additional merchant routes. The playground lets you try requests with test credentials.