Difference between revisions of "MOR API payments get"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 28: | Line 28: | ||
**s_number - card number. | **s_number - card number. | ||
**s_pin - card pin. | **s_pin - card pin. | ||
* Errors: | |||
** <error>Bad login</error> - User was not found by username and password. Use correct username and password. Make sure that username (u) and password (p) are specified. | |||
** <error>Incorrect hash</error> - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string. |
Revision as of 09:46, 12 December 2011
This functionality is available from MOR 11
MOR API
Payments list
- Call: /api/payments_list
- Params:
- u - username to login. Required.
- p - password to login. Required.
- hash - SHA1 hash constructed using params and API_Secret_Key ( More described in Constructing hash). Required.
- s_user_id - payments user id.
- s_from - Unix timestamp of calls period starting date. (Default: Today at 00:00).
- s_till - Unix timestamp of calls period end date. (Default: Today at 23:59).
- s_transaction - transaction id.
- s_completed - payment status. Possible values[ 1 - completed, 0 - not completed, if not sent - default: All]
- s_username - users username.
- s_first_name - users first name.
- s_last_name - users last name
- s_paymenttype - payment type. Possible values['Card', 'paypal','webmoney','ouroboros','manual','gateways_paypal','gateways_authorize_net','integrations_moneybooker','integrations_two_checkout', if not sent - default: All]
- s_amount_min - amount starting from.
- s_amount_max - amount ending with.
- s_currency - payment currency. Example: USD
- s_number - card number.
- s_pin - card pin.
- Errors:
- <error>Bad login</error> - User was not found by username and password. Use correct username and password. Make sure that username (u) and password (p) are specified.
- <error>Incorrect hash</error> - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.