GETPayment Method Listing
Merchant merchants can inquire about the institutions they will pay and the payment methods of the institutions by sending a GET request.
Service Address:/paymentmethodlist
Request
Header
| Parameter Name | Parameter Type | Explanation |
|---|---|---|
|
ApiKey
|
string | It is provided by the service provider .
|
|
SecretKey
|
string | It is provided by the service provider .
|
Response
Response Parameter
| Parameter Name | Parameter Type | Explanation |
|---|---|---|
| Result | boolen | The result of a successful or unsuccessful query. |
| ResultCode | integer | This is the code that returns the query result. |
| ResultMessage | string | The result of the query is the description returned. |
| PaymentMethodList | List<class> | Banks and payment methods return as a list. The list is given in the table below. |
Payment Method List
| Parameter Name | Parameter Type | Explanation |
|---|---|---|
| PaymentMethodId | integer | The id of the payment method. |
| PaymentMethodName | string | Payment Method name. |
| PaymentType | string | Payment method type |
| Image | string | Payment method image |
Response Sample
{
"PaymentMethodList": [
{
"PaymentMethodId": 1,
"PaymentMethodName": "HALKBANK",
"PaymentType": "SANALPOS",
"Image": ""
},
...
{
"PaymentMethodId": 58,
"PaymentMethodName": "TRUSTPAY",
"PaymentType": "E-CUZDAN",
"Image": "https://payment.teqpay.com/assets/img/logos/trustpay.png"
},
{
"PaymentMethodId": 59,
"PaymentMethodName": "GARANTI PAY",
"PaymentType": "E-CUZDAN",
"Image": ""
}
],
"Result": true,
"ResultCode": 10000,
"ResultMessage": "Başarıyla tamamlandı."
}