MPS Documentation
Reference

API reference

Every public endpoint with its parameters, request and response schemas and code samples, generated from the gateway's OpenAPI document.

These pages are generated from the gateway's own OpenAPI document each time the documentation is published, so they describe exactly the endpoints it serves. The guides explain how to use them together; this section is the contract, one endpoint at a time.

Server only

The API cannot be called from a browser. The gateway answers no cross-origin (CORS) requests, and the API key must never reach a browser. Call it from your server.

Conventions

Base URLhttps://gateway.mps-emi.com. Test keys and live keys use the same host; the key decides. See The hosts.
AuthenticationAuthorization: Bearer mps_test_… on every payment call: your API key (mps_live_… / mps_test_…). A partner key adds x-wallet-number. See Authentication.
Request bodiesJSON (Content-Type: application/json).
ResponsesJSON. A payment endpoint wraps its result in data.
AmountsIntegers in euro cents: 1995 is EUR 19.95.
IdentifierspaymentReference is an opaque string. Store and compare them exactly as returned.
IdempotencySend an Idempotency-Key on a create, and a retry with the same key and body returns the first payment instead of opening a second one. Without a key every create opens a new payment. See Retrying safely.
WebhooksSigned POST requests to the payment's callbackUrl: payment.received, and refund.refunded / refund.failed / refund.canceled. Documented in the callbacks of Create an online payment; see Webhooks.
Errors400 is a problem document naming the field. Every problem response of the payments API carries traceId and documentationUrl, a link to the section that resolves it. 401, 403, 404 and 429 carry no body, except the 403 for an x-wallet-number your key does not cover. See Errors and rate limits.
Rate limits100 requests a minute per API key, across every endpoint. See Rate limits.

The OpenAPI document

Download the document these pages are built from at /openapi.json. It is OpenAPI 3.0 and loads in Postman, Insomnia, Bruno or any code generator, ready to call https://gateway.mps-emi.com.

Need help? Contact MPS at contact@mps-emi.com or +32 55 89 09 77, or the MPS partner you work with. What to include.

Building with an AI assistant? Give it llms.txt, every page in llms-full.txt, this page as Markdown, or the OpenAPI document. See Build with AI.

Last updated on

On this page