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