Aukro WebAPI

doGetRefundsReasons

This method is for getting reasons for commission refund available for a particular purchase transaction.

  1. sessionId | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. dealId | Integer
    Identifier of a purchase transaction.
  1. reasonsCount | Integer
    Counter of commission refund reasons available for the purchase transaction.
  2. reasonsList | ReasonInfoType[]
    Array of structures containing information on available reasons for commission refund.
    1. reasonId | Integer
      Commission refund reason ID.
    2. reasonName | String | required
      Description of commission refund reason.
    3. maxQuantity | Integer
      Maximum quantity the buyer wanted to purchase. This field is returned only in case of “Buyer ordered more items than intended”. (4)
  • ERR_DEAL_NOT_EXISTS
    A deal with the given dealId does not exist.
  • 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.