Allegro WebAPI

Programming interface of the Allegro platform


Last change: ---
This method is for cancelling the commission refund form. When the refund procedure related to a given transaction is cancelled, it is impossible to request for the commission refund once again.

  1. sessionId | string | required
    User's session identifier received using the doLogin(Enc) method.
  2. refundId | int | required
    Commission refund form ID.

Sample structure of method call

$docancelrefundform_request = array(
   'sessionId' => '22eb99326c6be29aa16d07d622bcfbcbee94ad54846f2f4e03_1',
   'refundId' => 84263

  1. cancellationResult | int
    Confirming commission refund form cancellation (1).

Sample structure of server reply

$docancelrefundform_response = array(
   'cancellationResult' => 1

    You cannot cancel this form because it has already been considered.
    Given refund id is incorrect.
    This method is available only in the user’s country.
    Invalid session identifier or the session has expired.

Allegro is not to be held liable for consequences of using examples of the published code. It does not guarantee its correct operation either. The code you see serves as an example only and may contain errors.