Aukro WebAPI


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.

  1. sessionHandle | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. itemId | Long | required
    Offer identifier.
  3. buyerId | Integer | required
    Buyer's identifier.
  1. dealsList | DealsStruct[]
    Array of structures containing information on purchase events.
    1. dealId | Long
      Identifier of a purchase event.
    2. dealDate | Long
      Date of the purchase event.
    3. dealQuantity | Integer
      Number of items bought.
    4. dealAmountOriginal | BigDecimal | required
      Total amount (number * unit price) for the purchase event - without the discount.
    5. 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.
    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.
    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.