Aukro WebAPI
doSendRefundForm
This method is for sending a commission refund form related to transactions not completed by buyers within offers of a logged-in user.
-
sessionId | String | required
User's session identifier received using the doLogin(Enc) method. -
dealId | Integer
Identifier of a purchase transaction. -
reasonId | Integer
ID of a reason for commission refund (their list can be obtained using the doGetRefundsReasons method). -
refundQuantity | Integer
Quantity for which the commission refund form is filled in.
-
refundId | Integer
Commission refund form ID.
-
ERR_CANT_SEND_REFUND_FORM_FOR_THIS_TRANSACTION
You can't send refund form for this transaction (indicated purchase does not exist, concerns a different seller or has been submitted in an incorrect type). -
ERR_INCORRECT_REFUND_QUANTITY
Incorrect quantity. -
ERR_INCORRECT_REFUND_REASON_ID
You have given incorrect refund reason. -
ERR_METHOD_UNAVAILABLE_IN_FOREIGN_COUNTRY
This method is available only in the user’s country. -
ERR_REFUND_FORM_ALREADY_SENT
Commission refund form has already been sent for this transaction. -
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired.