Merchant commission API returns merchant commission and end user commission by card program.
Method | URL | Content-Type |
---|---|---|
GET | application/json |
Type | Params | Sample Value |
---|---|---|
KEY | currency_code | TRY, USD, EUR |
Authorization , is a header key which defines verification that the connection attempt is allowed. The method should be “Bearer”.
Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRlMGVlZGFiZjdhZDhkODYzYTgyMzQ4Nzk5NT
FkYzFlMDZkZTUxYjU0NWRjYmU3MzRjMmQ1OGNkMWFlOWE4YjliZTkyMjdlZGVmZDdlMDliIn0.eyJh
dWQiOiIxNSIsImp0aSI6ImRlMGVlZGFiZjdhZDhkODYzYTgyMzQ4Nzk5NTFkYzFlMDZkZTUxYjU0NWR
jYmU3MzRjMmQ1OGNkMWFlOWE4YjliZTkyMjdlZGVmZDdlMDliIiwiaWF0IjoxNTczNzUyNDcyLCJuYmY
iOjE1NzM3NTI0NzIsImV4cCI6MTYwNTM3NDg3Miwic3ViIjoiMSIsInNjb3BlcyI6W119
Acceept
Accept ,determines what type of representation is desired at client side. The value should be “application/json”.
currency_code
By default, it is set as “TRY”. Paybull Only allows “TRY”, “USD”, “EUR”
URL |
---|
https://test.paybull.com/ccpayment/api/commissions |
{
"currency_code": "TRY"
}
{
"status_code": 100,
"status_description": "successful",
"data": {
"1": [
{
"card_program": "BANKKART_COMBO",
"merchant_commission_percentage": "5.0000",
"merchant_commission_fixed": "1.0000",
"user_commission_percentage": 3,
"user_commission_fixed": 1,
"currency_code": "TRY",
"installment": 1
}
{
"card_program": "BONUS",
"merchant_commission_percentage": "0.0000",
"merchant_commission_fixed": "0.0000",
"user_commission_percentage": 0,
"user_commission_fixed": 0,
"currency_code": "TRY",
"installment": 1
}
],
If commission comes "x" for a card program under a installment, it means the card program is not enabled for the installment.
{
"status_code": 0,
"status_description": " No Data Found"
}