Aukro WebAPI
doGetPaymentMethods
This method allows for loading all available (for a logged-in user) payment methods.
-
sessionId | String | required
User's session identifier received using the doLogin(Enc) method. -
itemIds | Long[]
An array of offer identifiers for which a list of payment methods is to be returned (minimum: 1, maximum: 25).
-
paymentMethods | PaymentMethodStruct[]
Array of structures containing information on available payment methods.-
paymentMethodId | String | required
Payment method identifier. -
paymentMethodName | String | required
Full name of a payment method. -
paymentMethodImage | String | required
Link to an image representing the given payment method. -
paymentMethodUsage | Integer
Information on type of a payment method the given payment can be used with (mask: 1 - PayU, 2 -standard transfer, 4 - COD).
-
paymentMethodId | String | required
-
ERR_INCORRECT_ITEM_ID
Incorrect auction identifier or the indicated auction has been moved to the archive. -
ERR_ITEM_FROM_OTHER_COUNTRY
Item is listed in other country than country which user is logged in. -
ERR_ITEMS_ARRAY_EMPTY_OR_OVERFLOWED
No auction identifier or too many auction identifiers. -
ERR_NEW_PAYMENT_INTERNAL_ERROR
Internal system error due to loading PayU transactions -
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired. -
ERR_WEBAPI_KEY_INACTIVE
The session-generating WebAPI key has been deactivated (the owner did not accept the User Agreement).