List a payment's refunds
Lists the refunds of the payment, oldest first. Answers 404 for a payment belonging to another merchant.
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.
Success.
application/json- response
data*array<>curl -X GET 'https://gateway.mps-emi.com/api/payments/00000000-0000-4000-8000-000000000001/refunds' \ -H 'Authorization: Bearer <api_key>'{ "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.
Cancel a refund DELETE
Cancels a refund of the payment that has not been sent yet. Every refund waits until its cancelableUntil (4 hours) before it is sent, and can be canceled until then; it then reads canceled, and its amount can be refunded again. Answers 204 when canceled (also for a refund canceled before), 409 once it can no longer be canceled (after cancelableUntil, or once decided) or while other refunds of the payment are being changed (try again), and 404 for a refund of another payment, or of another merchant's. Requires the `payments:refund` scope.
Refund a payment POST
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.