Calculate the fee on an amount
curl -X GET "https://test-api.kashier.io/v2/payment-fees/calculate?amount=string&interactionSource=POS"{ "amount": 100, "fees": 5, "totalAmount": 105, "currency": "EGP", "interactionSource": "ECOMMERCE"}Works out the processing fee for an amount under the merchant's pricing model and returns the total the customer would be charged. Use it when fees are passed on to the customer, so your checkout can show the fee as its own line and the grand total before the payment is created.
Authorization
secretKey Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Query Parameters
The transaction amount to calculate the fee on. Example: 100.00
Where the payment is being taken, since fees differ by channel.
Value in
- "POS"
- "ECOMMERCE"
API version to calculate against.
Response Body
application/json
application/json
application/json
application/json
application/json
Get payment method definitions GET
Retrieves the payment methods available. It is the canonical list of method names — card, wallet, bankinstallments, and the rest — used across payment sessions, payment links, and the checkout enti…
List your discount campaigns GET
Returns the names of the discount campaigns configured on the merchant account and whether each one is currently active. This is a read-only view.