Calculation of the upper commission
A method for calculating the upper commission without actually debiting funds
Last updated
Was this helpful?
Was this helpful?
{
"status": true,
"message": "Success",
"status_code": 0,
"result": {
"amount": 10.4,
"amount_with_commission": 11.84,
"commission": 1.44
}
}{
"status": false,
"status_code": 1014,
"message": "Invalid signature",
"result": {}
}curl --location 'https://agwsapi.tarlanpayments.kz/showcase-gateway/api/v1/calculate/upper/commission' \
--header 'X-Signature: 7ff51c9f26c287e42fa37537df719974e297a751c4e2eba26d7622sgwgf225543sa' \
--header 'Content-Type: application/json' \
--data '{
"agent":"agent",
"project":"project",
"service_code":"service",
"amount": 10.42
}'