SmatPay Merchant Public Api
    SmatPay Merchant Public Api
    • Introduction to the SmatPay API
    • Integration Guide - Quick Start
    • Integration Guide - Payments
    • SmatPay WooCommerce
    • .NET SDK
    • 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 Innbucks Sandbox
      POST
    • Pay Innbucks Sandbox Bulk
      POST
    • Pay Innbucks Production
      POST
    • Pay Innbucks Production Bulk
      POST
    • Pay ZimSwitch Sandbox
      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
    • Pay ZimSwitch Sandbox Bulk
      POST
    • Pay ZimSwitch Production
      POST
    • Pay ZimSwitch Production Bulk
      POST
    • Pay Ecocash Sandbox
      POST
    • Pay Ecocash Sandbox Bulk
      POST
    • Bulk Payouts Sandbox
      POST
    • Bulk Payouts Production
      POST
    • Pay Ecocash Production
      POST
    • Pay Ecocash Production Bulk
      POST
    • Payment Status Innbucks Sandbox
      GET
    • Payment Status Innbucks Production
      GET
    • Payment Status Ecocash Sandbox
      GET
    • Payment Status Ecocash Production
      GET
    • Payment Status ZimSwitch Sandbox
      GET
    • Payment Status ZimSwitch Production
      GET
    • Payment Status Visa Sandbox
      GET
    • Payment Status MasterCard Sandbox Copy
      GET
    • Payment Status Visa Production
      GET
    • Payment Status Mastercard Production
      GET
    • Generate Recurring Payment Sandbox
      POST
    • Generate Payment Token Sandbox
      POST
    • Generate Payment Token With Payment Sandbox
      POST
    • Cancel Recurring Payment Sandbox
      POST
    • Fast Checkout
      POST
    • Fast Checkout Sandbox
      POST

      Payment Calculator

      POST
      /param/merchant/feesCalculator

      Request

      Body Params application/json
      paymentMethod
      string 
      required
      paymentAmount
      integer 
      required
      paymentCurrency
      integer 
      required
      Example
      {
        "paymentMethod": "Ecocash",
        "paymentAmount": 10,
        "paymentCurrency": 1
      }

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://live.smatpay.africa/param/merchant/feesCalculator' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "paymentMethod": "Ecocash",
          "paymentAmount": 10,
          "paymentCurrency": 1
      }'

      Responses

      🟢200Payment Calculator
      text/plain
      Body
      id
      integer 
      required
      feesMerchantId
      string 
      required
      feesPaymentMethod
      integer 
      required
      feesMarkUp
      integer 
      required
      feesServiceProviderFee
      integer 
      required
      feesSmatPayFee
      integer 
      required
      feesMinAmount
      integer 
      required
      feesMaxAmount
      integer 
      required
      feesStartDate
      string 
      required
      feesEndDate
      string 
      required
      feesCurrencyId
      integer 
      required
      feesUserId
      string 
      required
      feesStatus
      boolean 
      required
      feeTotalToBePaid
      number 
      required
      Example
      {
        "id": 2,
        "feesMerchantId": "DEFAULT",
        "feesPaymentMethod": 3,
        "feesMarkUp": 2,
        "feesServiceProviderFee": 2,
        "feesSmatPayFee": 2,
        "feesMinAmount": 1,
        "feesMaxAmount": 100,
        "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-03-10 20:49:15
      Previous
      Get Payment intervals
      Next
      Test Webhook Sandbox
      Built with