Create a payment link
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.
apiKeyAuthorizationBearer <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.
x-wallet-number?stringOnly 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.
application/json- body
amount?integerThe amount in euro cents: 1 to 5000000. The shopper pays exactly this amount, once.
int641 <= value <= 5000000reference?|Your reference for the payment, shown to the shopper. Letters A-Z, digits, spaces and . _ : / # + -; up to 64 characters.
length <= 64expiresInDays?|How many days the link stays open, from 1 to 90. Defaults to 10.
int321 <= value <= 90locale?|The language of the link page and the checkout: en, nl or fr. Without it, the shopper's browser decides.
Created
application/json- 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.
List payment links GET
Lists the payment links of the key's merchant, newest first. Reads count toward the 100 requests a minute. Requires the `payment-links:read` scope.
Create an online payment POST
Opens an online payment and returns the page to send the shopper to. Every call opens a new payment unless it carries an Idempotency-Key (or X-Idempotency-Key): a retry with the same key and the same body returns the payment the first call made, for 24 hours. The same key with a different body is a 400 naming Idempotency-Key; a retry while the first call is still running is a 409. Requires the `internet:create` scope.