General

Voids a transaction.

Changed on

Voids the referenced stored value transaction.

post/voidTransaction

Request

  • Base URL
    https://pal-test.adyen.com/pal/servlet/StoredValue/v46
  • URL
    https://pal-test.adyen.com/pal/servlet/StoredValue/v46/voidTransaction
  • Auth
    • HTTP basic
    • or API key in header X-API-Key

Request body

merchantAccountstring required

The merchant account identifier, with which you want to process the transaction.

originalReferencestring required

The original pspReference of the payment to modify.

referencestring

Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.

storestring

The physical store, for which this payment is processed.

tenderReferencestring

The reference of the tender.

uniqueTerminalIdstring

The unique ID of a POS terminal.

Response

OK - the request has succeeded.

pspReferencestring

Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.

refusalReasonstring

If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error.

When a transaction fails, the authorisation response includes resultCode and refusalReason values.

resultCode'Success' | 'Refused' | 'Error' | 'NotEnoughBalance'

The result of the payment. Possible values:

  • Success – The operation has been completed successfully.
  • Refused – The operation was refused. The reason is given in the refusalReason field.
  • Error – There was an error when the operation was processed. The reason is given in the refusalReason field.
  • NotEnoughBalance – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.
thirdPartyRefusalReasonstring

Raw refusal reason received from the third party, where available

Changes

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's property type changed from no type to object for status