Aukro WebAPI

doGetMyPaymentsInfo

This method allows for loading set of data on PayU settings taken from the account of a logged-in user.

  1. sessionId | String | required
    User's session identifier received using the doLogin(Enc) method.
  1. paymentsInfo | PaymentsInfoStruct | required
    Structure with PayU settings of a logged user.
    1. paymentsBalance | BigDecimal | required
      Account balance.
    2. paymentsBankAccount | String | required
      Bank account to transfer funds from a PayU account.
    3. paymentsUserData | PaymentsUserDataStruct | required
      User data of an account owner.
      1. userFullName | String | required
        Name and surname of a user.
      2. userAddress | String | required
        User's address.
      3. userPostcode | String | required
        User's postal code.
      4. userCity | String | required
        User's city.
      5. userCountry | Integer
        User's country identifier.
      6. userPhone | String | required
        User's phone no.
    4. paymentsPayout | PaymentsPayoutStruct | required
      Structure with information on withdrawals.
      1. payoutType | Integer
        Selected withdrawal option (1 - automatically, 2 - on request).
      2. payoutAutoSettings | PayoutAutoSettingsStruct | required
        Structure with additional information for automatic withdrawals.
        1. payoutAutoAmount | BigDecimal | required
          Minimal amount for automatic withdrawals.
        2. payoutAutoFrequency | PayoutAutoFrequencyStruct | required
          Structure with information on frequency of automatic withdrawals.
          1. frequencyType | Short
            Frequency of automatic withdrawals (1 - each work day, 2 - once a week, 3 - once a month, 4 - other [for withdrawals realized via postal order or to foreign account: on 14th day of a month if the amount exceeds 100 PLN or on the last day of a month regardless the amount; the whole amount]),
          2. frequencyWeekValue | Short
            Selected day of a week for withdrawals in case of frequencyType = 2 (1 - Mon, 2 - Tue, ..., 7 - Sun). 0 is returned for other frequencyType.
          3. frequencyMonthValue | Short
            Selected day of a month for withdrawals in case of frequencyType = 3 (-1 - last day of a month, 1-31 - particular day of a month). 0 is returned for other frequencyType.
    5. paymentsNotifications | Integer
      Information on enabled notifications relating to PayU (mask: 1 - e-mail on a payment from a buyer, 2 - e-mail on a withdrawal, 4 - monthly summary of payments).
  • ERR_NEW_PAYMENT_INTERNAL_ERROR
    Internal system error due to loading PayU transactions.
  • ERR_NEW_PAYMENTS_NOT_CONFIGURED
    No active PayU account.
  • ERR_NO_SESSION / ERR_SESSION_EXPIRED
    Invalid session identifier or the session has expired.
  • ERR_WEBAPI_KEY_INACTIVE
    WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement).