Allegro WebAPI

Programming interface of the Allegro platform


Last change: ---
This method is for cancelling warnings. When the warning related to a given transaction is cancelled, it is impossible to request for the commission refund once again. Warning cancellation results in charging the success fee once again.

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

Sample structure of method call

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

  1. cancellationResult | int
    Confirming warning cancellation (1).

Sample structure of server reply

$docancelrefundwarning_response = array(
   'cancellationResult' => 1

    Warning has not been cancelled due to an unexpected error.
    It is impossible to cancel a warning for this form (commission refund has not been granted or has not generated any warning).
    Given refund id is incorrect.
    This method is available only in the user’s country.
    No warning has been given for this form.
    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.