One session, four ways to integrate. Start with a no-code link and move to a custom UI without touching your backend.
Payment Links
No codeCreate a link in the dashboard or API and share it. We host the checkout.
Hosted Checkout
Server onlyCall POST /checkout/sessions and redirect. The simplest path with any code.
Drop-in
~10 linesOpen the session as a modal or inline iframe. Customers never leave your domain.
Elements
Custom UIBuild your own checkout around the PaymentElement. The most control.
Debug without leaving the dashboard. The Workbench is a developer pane built into every account, four tabs deep.
Inspector
Paste any ID and see the full graph of related resources, its JSON, and the events and logs around it.
Events
Every webhook your account produced, with each delivery attempt and retry. Resend any of them.
Logs
Server-side request and error logs, scoped to your account, down to the individual call.
Health
Aggregated error groups, so you see what is failing, how often, and exactly why.
Everything you need to build with confidence. Typed, documented, and testable end to end.
REST API from OpenAPI
Predictable, resource-oriented endpoints, documented from the live OpenAPI spec.
Typed JavaScript & React SDKs
@xpayeg/sdk and @xpayeg/react, with hooks, the PaymentElement, and full types.
Signature-verified webhooks
Every event is signed, so your server can trust exactly what it receives.
A full sandbox
Test every flow with test keys before you flip to live. Same API, separate data.
Idempotent by design
Safe retries with idempotency keys, so a dropped connection never double-charges.
One object model
Checkout Session, Payment Intent, Charge, Refund, Customer, the same shapes in the API and your webhooks.
Common Questions About XPay API & Developer Tools
XPay is developer-first payment infrastructure for Egypt: a REST API built from OpenAPI, typed JavaScript and React SDKs, signed webhooks, a full sandbox, and the Workbench for debugging.