X-Pay Merchant Public Api
  1. XPayMerchant Public API
X-Pay Merchant Public Api
  • Payments
    • Introduction to the X-Pay API
    • Integration Guide - Quick Start
    • Integration Guide - Payments
    • X-Pay WooCommerce
    • X-Pay Flutter Plugin
    • .NET SDK
  • XPayMerchant Public API
    • Get Token Sandbox
      POST
    • Get Token Production
      POST
    • Get Currencies
      GET
    • Get Banks
      GET
    • Get Payment intervals
      GET
    • Payment Calculator
      POST
    • Test Webhook Sandbox
      POST
    • Test Webhook Production
      POST
    • Pay Visa Sandbox
      POST
    • Pay Visa Production
      POST
    • Pay Mastercard Sandbox
      POST
    • Pay Mastercard Production
      POST
    • Pay Mastercard Sandbox Bulk
      POST
    • Pay Mastercard Production Bulk
      POST
    • Pay Visa Sandbox Bulk
      POST
    • Pay Visa Production Bulk
      POST
    • Payment Status Visa Sandbox
      GET
    • Payment Status MasterCard Sandbox
      GET
    • Payment Status Visa Production
      GET
    • Payment Status Mastercard Production
      GET
    • Generate Payment Token Sandbox
      POST
    • Generate Payment Token Production
      POST
    • Card Token Payment Sandbox
      POST
    • Card Token Payment Production
      POST
    • Delete Card Token Sandbox
      DELETE
    • Fast Checkout
      POST
    • Fast Checkout Sandbox
      POST
  1. XPayMerchant Public API

Payment Calculator

POST
/param/merchant/feesCalculator

Request

Body Params application/json

Examples

Responses

🟢200Payment Calculator
text/plain
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/param/merchant/feesCalculator' \
--header 'Content-Type: application/json' \
--data-raw '{
    "paymentMethod": "Ecocash",
    "paymentAmount": 10,
    "paymentCurrency": 1
}'
Response Response Example
{
    "id": 2,
    "feesMerchantId": "DEFAULT",
    "feesPaymentMethod": 3,
    "feesMarkUp": 2.0,
    "feesServiceProviderFee": 2.0,
    "feesSmatPayFee": 2.0,
    "feesMinAmount": 1.0,
    "feesMaxAmount": 100.0,
    "feesStartDate": "2024-06-01T00:00:00.000+00:00",
    "feesEndDate": "2024-09-30T00:00:00.000+00:00",
    "feesCurrencyId": 1,
    "feesUserId": "udean@smatechgroup.com",
    "feesStatus": true,
    "feeTotalToBePaid": 12.4
}
Modified at 2025-11-17 18:54:15
Previous
Get Payment intervals
Next
Test Webhook Sandbox
Built with