Create a registration link
Send a company to MPS's signup with a personal registration link, as a live partner, and follow whether it was used.
A registration link sends one company to the MPS signup, with your partner reference on it. You make it with
the API for one company and one e-mail address, send the returned url to that company's contact, and read the link
to see whether they signed up. Only a live partner's key can do this.
Live partners only
The live key you make for yourself as a live partner holds the registration-links:manage scope from the start. A
merchant's key, a key you make for one of your merchants, and a test key never hold it. A registration link names a
real company and a real e-mail address and sends a real signup, so there is no test mode. A key without the scope,
or a partner that is not live, is refused.
Server only
Before you start
- A live key of your own as a live partner, made on the MPS platform under Online › API keys. It holds
registration-links:managefrom the start. - The company's country, company number and name, and the e-mail address of the person who signs up.
No shop name needed
A partner usually has no shop, so its own live key needs no shop name. Such a key takes no payments: an online
payment made with it answers 403, and a payment link answers 409 with code payment_link_unnamed.
A return is not proof
The return address the signup sends the company back to is not proof that the company signed up. It can be
reached without finishing the signup, and it can be missed. Read the link's status from the API to find out
whether the signup was completed.
Create the link
# Make a registration link for one company
# Prerequisite: export MPS_API_KEY=mps_live_…
curl -sS --fail-with-body -X POST "https://gateway.mps-emi.com/api/partners/registration-links" \
-H "Authorization: Bearer $MPS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"country": "BE", "companyNumber": "0123456749", "companyName": "Bakkerij De Molen BV", "email": "contact@example.com", "language": "nl", "partnerReference": "CRM-1042"}'The gateway answers 201 Created with the link in data. The Location header points at the link. Send the company
url: it is the address the company opens to sign up, and it already carries the link's code. Store id and url
with the company's record.
{
"data": {
"id": "6f1c2a3b-4d5e-4f60-8a7b-9c0d1e2f3a4b",
"code": "K7mQ2xP9wRtN4bZc",
"status": "open",
"country": "BE",
"companyNumber": "0123456749",
"companyName": "Bakkerij De Molen BV",
"email": "contact@example.com",
"language": "nl",
"partnerReference": "CRM-1042",
"createdAt": "2026-11-18T09:14:03Z",
"expiresAt": "2026-11-28T09:14:03Z",
"revokedAt": null,
"usedAt": null,
"completedAt": null,
"returnUrl": null,
"url": "https://main.mps-emi.com/signup?partner=K7mQ2xP9wRtN4bZc"
}
}Request body
| Field | Type | Required | Description |
|---|---|---|---|
country | string | Yes | The company's country, as ISO 3166-1 alpha-2, such as BE. |
companyNumber | string | Yes | The company's number in its register. |
companyName | string | Yes | The company's name, as the signup shows it. |
email | string | Yes | The e-mail address of the person who signs up. |
language | string | Yes | en, nl or fr: the language of the signup. |
partnerReference | string | No | Your reference for the company, kept with the link. |
expiresInDays | integer | No | Days the link stays open, from 1 to 90. Defaults to 30. |
The company is looked up in the register when the register answers, and the link is made either way. A company that already has an open registration link cannot get a second one: revoke the first.
Read the links
# List your registration links that are still open
curl -sS --fail-with-body "https://gateway.mps-emi.com/api/partners/registration-links?status=open" \
-H "Authorization: Bearer $MPS_API_KEY"The list answers the links in data, newest first, with totalCount, page and pageSize beside them. Filter with
status: open, used, completed, expired or revoked. Ask for another page with page (from 1) and
pageSize (25 by default, 100 at most). Read one link with
GET https://gateway.mps-emi.com/api/partners/registration-links/{id}: it answers the link in data.
Revoke a link
# Revoke a link nobody has signed up with yet
curl -sS --fail-with-body -X DELETE "https://gateway.mps-emi.com/api/partners/registration-links/6f1c2a3b-4d5e-4f60-8a7b-9c0d1e2f3a4b" \
-H "Authorization: Bearer $MPS_API_KEY"Revoking answers 204. Once someone has signed up with the link, it can no longer be revoked and the answer is
409.
Response
A link in data:
| Field | Type | Description |
|---|---|---|
id | string | The link's identifier. Opaque: never parse it. |
url | string | The address the company opens to sign up, with the link's code. Send this to the company. Null when MPS has not configured the signup address, which the gateway refuses on create rather than returning a link without it. |
code | string | The code in the url. |
status | string | open, used, completed, expired or revoked. |
country | string | The company's country. |
companyNumber | string | The company's number. |
companyName | string | The company's name. |
email | string | The e-mail address the link was made for. |
language | string | The signup's language. |
partnerReference | string or null | Your reference. |
createdAt | string | When the link was made. |
expiresAt | string | When the link stops working. |
revokedAt | string or null | When the link was revoked. |
usedAt | string or null | When somebody first used the link. |
completedAt | string or null | When the signup was completed. |
Errors
| Status | Code | Cause | Resolution |
|---|---|---|---|
400 | — | A field is missing or invalid, or status is not one of the values above. The body names the field. | Fix the field the error names. |
401 | — | No API key, or an unknown one. | Send a valid key as Authorization: Bearer. |
403 | — | The key does not carry registration-links:manage, or its partner is not live. | Use the live key you made for yourself as a live partner. A merchant's key and a test key never hold the scope. |
404 | — | No such link for this partner. | The same answer as for a link that does not exist. |
409 | — | The link has been used, so it cannot be revoked. | Nothing to revoke. Read the link's status. |
429 | — | More than 100 requests a minute from this key. | Wait for the Retry-After seconds. |
Related
- Authentication: API keys and scopes.
- Create a payment link with the API: payments for a shopper, rather than a company's signup.
- Errors and rate limits: the problem format and the retry rules.
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