Üye işyerinize tanımlanmış profile göre tüm markalara ait komisyon oranları listesini döner.
Output: Result>Lits>Commission<< modelidir.
Request URL
POST API_URL/commissions
Komisyon listesinin alınması
//Request
var client = new RestClient(url);
var request = new RestRequest("commissions", Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("MerchantId", "MERCHANT ID NİZ");
request.AddHeader("UserId", "API USER ID NİZ");
request.AddHeader("ApiKey", "API KEY İNİZ");
//Response
{
"Message": "Komisyon listesi alındı",
"ErrorCode": 200,
"Errors": null,
"IsDone": true,
"ElapsedTime": 0,
"Content": [
{
"CardBrand": 1,
"CardBrandStr": "Advantage",
"Installment": 1,
"Rate": 1.69,
"IsActive": true,
"IsCreditCard": false
},
{
"CardBrand": 2,
"CardBrandStr": "Axess",
"Installment": 1,
"Rate": 1.69,
"IsActive": true,
"IsCreditCard": false
},
{
"CardBrand": 3,
"CardBrandStr": "BankkartCombo",
"Installment": 1,
"Rate": 1.69,
"IsActive": true,
"IsCreditCard": false
},
....
]
}