Refunds

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 MethodMaximum Refund Time
MB WAY15 months
Visa & Mastercard12 months
Apple Pay12 months
Google Pay12 months
Samsung Pay12 months
MB SPG references15 months
Other MB referencesNo limit
Direct Debit180 days

Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">refund:create</code>

post/refund/{id}

Request

  • Base URL
    https://api.test.easypay.pt/2.0
  • Auth
    API key in header AccountId and API key in header ApiKey

Path parameters

id, string uuid required

The capture uuid associated with Single or Frequent Transaction

Request body

RefundPostRequest required
transaction_key, string

Your internal key identifying this refund

iban, string

IBAN of the bank account that receives the refund. Required for Virtual IBAN and Multibanco refunds, except Single payments with an SPG reference.

email, string

Email of the bank account holder. Required whenever iban is sent.

phone, string

Phone of the bank account holder. Required whenever iban is sent.

account_holder, string

Name of the bank account holder. Required whenever iban is sent.

value, number double required

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.

revert, object

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

RefundPostResponse required
status, string
message, string
id, string uuid

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.