Description
Gets the allowed list of Payment Gateways for Sub-Resellers.
Parameters
| Name | Data Type | Required / Optional | Description | 
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter | 
| api-key | String | Required | Authentication Parameter | 
HTTP Method
GET
Example Test URL Request
https://test.httpapi.com/api/pg/list-for-reseller.json?auth-userid=0&api-key=key
Response
Returns a hash map of allowed Payment Gateways containing the below details:
- 
Payment Gateway Type (gatewaytype) 
- 
Payment Gateway Name (gatewayname) 
- 
Payment Type Id (paymenttypeid) 
- 
Payment Gateway URL (posturl) 
- 
Payment Gateway Display Position (displayposition) 
- 
Payment Gateway Access Level for Customers (customeraccesslevel) 
- 
Allowed Transaction Type for Customers (customerallowedpaymenttype) 
- 
Payment Gateway Access Level for Sub-Resellers (reselleraccesslevel) 
- 
Allowed Transaction Type for Sub-Resellers (resellerallowedpaymenttype) 
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
