API and developers
One payment API.
Every way in.
Send customers to the hosted payment page, embed it with the Web SDK, call the API server to server, or install a plugin for your store. AI agents connect through MCP.
- Payment API
- Hosted payment page
- Web SDK
- MCP server
server · request
POST /api/v1/payments/intentAuthorization: Bearer <token from POST /api/v1/auth>Content-Type: application/json { "type": "PAYMENT", "requestId": "order-1042", "mid": "YOUR_MID", "amount": "25.00", "currency": "EUR", "lang": "en", "callbackUrl": "https://shop.example/webhooks/exirom", "successRedirectUrl": "https://shop.example/paid", "failureRedirectUrl": "https://shop.example/retry", "order": { … }, "billingDetails": { … }, "device": { … }}Response
200 OK application/json
{
"redirectUrl": "https://checkout.example/i/7Hq2…",
"iframeUrl": "https://checkout.example/f/7Hq2…"
}The Bearer token comes from POST /api/v1/auth with the merchant key and secret issued in your back office.
Redirect the customer to redirectUrl for the hosted payment page.
Or keep them on your page: pass it to the Web SDK.
checkout.ts
# npm install @exirom/cashier-sdkimport { mount } from '@exirom/cashier-sdk'; // redirectUrl comes from your payment intentconst cashier = mount('#cashier', { baseUrl: redirectUrl }); cashier.on('TX_SUCCESS', ({ data }) => showConfirmation(data.txId));cashier.on('CASHIER_ERROR', ({ data }) => handleError(data.code));cashier.on('ONLOAD_ERROR', ({ data }) => showRetry(data.message));Your page
Your page
#cashier · iframe
auto heightiframe fits the checkout content
3D Securehandled by the SDK
TX_SUCCESS{ txId: "418230" }
incoming · webhook
POST https://shop.example/webhooks/exiromx-checksum: <checksum>Content-Type: application/json { "transactionId": "418230", "transactionStatus": "SUCCEED", "amount": 25.00, "currency": "EUR", "requestId": "order-1042"}Your handler
Read the x-checksum header.
Checksum matches. The payload came from Exirom.
SUCCEED: mark order-1042 as paid.
Respond 200 within 10 seconds, or Exirom retries the callback.
agent · MCP session
// Your AI agent, signed in with your back-office user→ tools/list← the tools your permissions allow → tools/call get_card_transaction { "transactionId": "418230" } → tools/call get_merchant_callback_deliveries { "transactionId": "418230" } → tools/call describe_public_api_endpoint { "endpoint": "POST /api/v1/payments/intent" }AI agent
Did order-1042 get its callback?
get_card_transactionSUCCEED · 25.00 EUR
get_merchant_callback_deliveries3 attempts · HTTP 500
describe_public_api_endpointcallbackUrl · request fields
Payment 418230 succeeded. Your callback endpoint answered 500 on every attempt, so the order was never marked paid. Check the handler at /webhooks/exirom.
Example values. The full schema is in the API reference.
Choose your integration
Choose where checkout lives
Pick where the checkout lives. Every payment ends with the same webhook, signed with x-checksum.
Hosted redirect
Create an intent and send the customer to the hosted payment page. It shows the methods your providers enable.
Customer
Your server
Exirom
1.POST /intentPOST /api/v1/payments/intent
2.redirectUrl
3.RedirectRedirect to the hosted payment page
4.Pays, 3DS includedCustomer pays, 3D Secure included
5.Signed webhookWebhook signed with x-checksum
- Checkout
- Hosted payment page
- Your work
- One API call and a redirect
- Typical effort
- Least work
- Results
- Webhook and redirect back
- Card data on your servers
- No
- Best for
- Launching with the least integration work
Behind every path: routing and cascading in the Payment Hub, every request passes risk checks, and results land in Analytics.
Connecting an AI agent? Read the Exirom MCP server guide or see what Nimo AI and MCP can answer.
Start building
From sandbox to live payment API traffic
Build from the public docs. We set up your sandbox and support you through go-live.
- 01
Scope
Providers, methods, markets and checkout model.
- 02
Sandbox
Get your merchant key and secret in your back office. Set up routing, webhooks and tests.
- 03
Build
Payment requests through the API, hosted page or Web SDK.
- 04
Test
Status changes, callbacks, declines and retries.
- 05
Go live
Monitoring, provider health checks and support.
Walk through the integration
Bring your current flow, provider list and webhook requirements. We will map how Exirom fits your architecture.