Cancel a payment link
Stops an open payment link opening payments. Canceling a canceled link answers 204 again. Answers 409 with code payment_link_not_open once the link is paid or expired: a payment already on its checkout can still be paid, and a paid link stays paid. Answers 404 for a link of another merchant.
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.
id*stringThe link's id, exactly as create returned it. An opaque string: never parse it.
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.
No Content
curl -X DELETE 'https://gateway.mps-emi.com/api/payments/payment-links/k3Qz9aVbN2xR7wYc1dFgHw' \ -H 'Authorization: Bearer <api_key>'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.
Get a payment link GET
Reads one payment link of the key's merchant. Answers 404 for a link of another merchant, the same answer as for a link that does not exist. Requires the `payment-links:read` scope.
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.