Refund a payment
Refunds the payment in full or in part, as many times as needed until the paid amount is used up. Omit the amount to refund everything still refundable. Send an Idempotency-Key header so a retry returns the first refund instead of making a second. Answers 404 rather than 403 for a payment belonging to another merchant, and 409 for a payment not yet executed. A refund is answered pending and waits 4 hours (cancelableUntil) before it is sent; it can be canceled until then. In rare cases the 201 already reads failed, with failureReason unknown: it could not be scheduled, nothing is refunded, and the amount can be refunded again with a new Idempotency-Key. Decide on status.
Requires the payments:refund 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.
paymentReference*stringThe paymentReference create returned, exactly as returned.
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.
Idempotency-Key?stringOne value per refund you intend. Kept with the refund, per payment, and never expires: the same key on the same payment always returns that refund. Letters, digits and punctuation, no spaces.
^[!-~]+$length <= 255application/json- body
amount?|Amount to refund in cents, as a JSON integer. Omit to refund everything still refundable.
int641 <= valuereason?|Optional. One of: duplicate, fraudulent, requested_by_customer.
"duplicate""fraudulent""requested_by_customer"nullCreated
application/json- response
data*curl -X POST 'https://gateway.mps-emi.com/api/payments/00000000-0000-4000-8000-000000000001/refunds' \ -H 'Authorization: Bearer <api_key>' \ -H 'Content-Type: application/json' \ -d '{ "amount": 500, "reason": "requested_by_customer"}'{ "data": { "refundId": "00000000-0000-4000-8000-000000000004", "paymentReference": "00000000-0000-4000-8000-000000000001", "status": "pending", "amount": 500, "currency": "EUR", "reason": "requested_by_customer", "failureReason": null, "cancelableUntil": "2026-10-22T13:14:03.0000000+00:00", "createdAt": "2026-10-22T09:14:03.0000000+00:00" }}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 a payment's refunds GET
Lists the refunds of the payment, oldest first. Answers 404 for a payment belonging to another merchant. Requires the `payments:refund` scope.
List registration links GET
Lists the partner's personal registration links, newest first. Filter with status: open, used, completed, expired or revoked. Reads count toward the 100 requests a minute. Requires the `registration-links:manage` scope.