This method allows for loading single purchase events concluded by a given buyer in an indicated offer (in which a logged-in user acts as the seller). That method returns only purchase events which is not paid yet while calling the method. The exception is a situation when a purchase had been paid for but the payment has been cancelled - that purchase is treated as unpaid and information about it will be returned. In case of providing an incorrect user identifier an empty structure is returned.
sessionHandle | String | required
User's session identifier received using the doLogin(Enc) method.
itemId | Long | required
buyerId | Integer | required
dealsList | DealsStruct
Array of structures containing information on purchase events.
dealId | Long
Identifier of a purchase event.
dealDate | Long
Date of the purchase event.
dealQuantity | Integer
Number of items bought.
dealAmountOriginal | BigDecimal | required
Total amount (number * unit price) for the purchase event - without the discount.
dealAmountDiscounted | BigDecimal | required
Total amount (number * unit price) for the purchase event - with granted discount. If the discount has not been granted - the amount equals the amount without discount.
- dealId | Long
No buyer's identifier or incorrect value (<= 0) .
No, incorrect value (<=0) of the offer identifier or such offer does not exist.
Internal system error due to loading PayU transactions.
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired.
The session-generating WebAPI key has been deactivated (the owner did not accept the User Agreement).
logged-in user is not the seller in the indicated offer.