Refunds a Single Transaction or Frequent Transaction
Each method has a specific time window during which a refund can be issued. Once this period expires, refunds can no longer be processed via the API for that payment.
Refund Deadlines by Payment Method
| Payment Method | Maximum Refund Time |
|---|---|
| MB WAY | 15 months |
| Visa & Mastercard | 12 months |
| Apple Pay | 12 months |
| Google Pay | 12 months |
| Samsung Pay | 12 months |
| MB SPG references | 15 months |
| Other MB references | No limit |
| Direct Debit | 180 days |
Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">refund:create</code>
Request
- Base URLhttps://api.test.easypay.pt/2.0
- AuthAPI key in header AccountId and API key in header ApiKey
Path parameters
The capture uuid associated with Single or Frequent Transaction
Request body
Your internal key identifying this refund
IBAN of the bank account that receives the refund. Required for Virtual IBAN and Multibanco refunds, except Single payments with an SPG reference.
Email of the bank account holder. Required whenever iban is sent.
Phone of the bank account holder. Required whenever iban is sent.
Name of the bank account holder. Required whenever iban is sent.
The amount to refund. When revert is present, this is the gross amount from the payer's perspective — the amount refunded to the payment method plus any redeemed reward credits being restored.
Reverts refers to the process of reversing a previously made split payment. This means that the amounts that were divided and allocated to different recipients or accounts are returned to the original payer or redistributed as per the new instructions.
Example request
{
"value": 17.5,
"revert": {
"reward_redemption_reversal": 2.5
}
}Response
Created
A unique identifier for the resource. While typically formatted as a UUID (Universally Unique Identifier), it can also be in other formats as defined by the user. This field ensures the resource can be distinctly recognized and referenced.
Example response
{
"status": "ok",
"message": "Your request was successfully created",
"id": "25997c28-1902-4f6d-842e-c6050e7d5421"
}Changes
No recorded changes to this operation across all 11 revisions of this API.