MPS Documentation
ReferenceAPI referencePayment links

Create a payment link

POST
/api/payments/payment-links

Makes a single-use payment link for a fixed amount and returns the address to send the shopper to. The link is test or live as the key is: a test key makes test links, a live key makes live links. A partner's key makes test links only, and a link with no shop name on record is a 409 naming payment_link_unnamed. A link stops opening payments once it is paid, canceled or expired.

Requires the payment-links:create scope.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key from the platform's Online screens (mps_live_… or mps_test_…), sent as the bearer on every call. Server to server only: never in a browser or an app.

Header Parameters

x-wallet-number?string

Only with a partner key, on every call: the wallet of the merchant this call acts for, such as BE0000000000. A test key or a merchant key acts for its own wallet and ignores it.

Request Body

application/json
  1. body
amount?integer

The amount in euro cents: 1 to 5000000. The shopper pays exactly this amount, once.

Formatint64
Range1 <= value <= 5000000
reference?|

Your reference for the payment, shown to the shopper. Letters A-Z, digits, spaces and . _ : / # + -; up to 64 characters.

Lengthlength <= 64
expiresInDays?|

How many days the link stays open, from 1 to 90. Defaults to 10.

Formatint32
Range1 <= value <= 90
locale?|

The language of the link page and the checkout: en, nl or fr. Without it, the shopper's browser decides.

Response Body

Created

application/json
  1. response
data*
curl -X POST 'https://gateway.mps-emi.com/api/payments/payment-links' \  -H 'Authorization: Bearer <api_key>' \  -H 'Content-Type: application/json' \  -d '{  "amount": 1995,  "reference": "INV-42",  "expiresInDays": 10,  "locale": "nl"}'
{  "data": {    "id": "k3Qz9aVbN2xR7wYc1dFgHw",    "url": "https://pay.mps-emi.com/link/k3Qz9aVbN2xR7wYc1dFgHw",    "amount": 1995,    "reference": "INV-42",    "state": "open",    "test": false,    "createdAt": "2026-11-18T09:14:03.0000000+00:00",    "expiresAt": "2026-11-28T09:14:03.0000000+00:00",    "paidAt": null,    "canceledAt": null,    "paymentReference": null,    "payments": [],    "locale": "nl"  }}

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.