Allegro WebAPI

Programming interface of the Allegro platform

doCancelRefundForm

Last change: ---
Availability:
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
);


  • ERR_CANNOT_BE_CANCELLED
    You cannot cancel this form because it has already been considered.
  • ERR_INCORRECT_REFUND_ID
    Given refund id is incorrect.
  • ERR_METHOD_UNAVAILABLE_IN_FOREIGN_COUNTRY
    This method is available only in the user’s country.
  • ERR_NO_SESSION / ERR_SESSION_EXPIRED
    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.