Complete reference for the Payotex Merchant API. Learn how to generate API keys, create checkout sessions, embed payment widgets, and handle webhooks.
Endpoints
- POST /api/merchant/keys — Generate API key pair (secret + publishable)
- GET /api/merchant/keys/verify — Verify API key and configuration
- POST /api/merchant/checkout — Create a checkout session
- GET /api/merchant/session/:id — Get session details
- GET /api/merchant/session/:id/assets — List available payment assets
- POST /api/merchant/session/:id/quote — Get swap quote for a session
Authentication
Use Bearer token authentication with your secret key (sk_live_) for server-side calls and publishable key (pk_live_) for client-side operations.