- Introduction to the SmatPay API
- Integration Guide - Quick Start
- Integration Guide - Payments
- SmatPay WooCommerce
- .NET SDK
- Get Token SandboxPOST
- Get Token ProductionPOST
- Get CurrenciesGET
- Get BanksGET
- Get Payment intervalsGET
- Payment CalculatorPOST
- Test Webhook SandboxPOST
- Test Webhook ProductionPOST
- Pay Innbucks SandboxPOST
- Pay Innbucks Sandbox BulkPOST
- Pay Innbucks ProductionPOST
- Pay Innbucks Production BulkPOST
- Pay ZimSwitch SandboxPOST
- Pay Visa SandboxPOST
- Pay Visa ProductionPOST
- Pay Mastercard SandboxPOST
- Pay Mastercard ProductionPOST
- Pay Mastercard Sandbox BulkPOST
- Pay Mastercard Production BulkPOST
- Pay Visa Sandbox BulkPOST
- Pay Visa Production BulkPOST
- Pay ZimSwitch Sandbox BulkPOST
- Pay ZimSwitch ProductionPOST
- Pay ZimSwitch Production BulkPOST
- Pay Ecocash SandboxPOST
- Pay Ecocash Sandbox BulkPOST
- Bulk Payouts SandboxPOST
- Bulk Payouts ProductionPOST
- Pay Ecocash ProductionPOST
- Pay Ecocash Production BulkPOST
- Payment Status Innbucks SandboxGET
- Payment Status Innbucks ProductionGET
- Payment Status Ecocash SandboxGET
- Payment Status Ecocash ProductionGET
- Payment Status ZimSwitch SandboxGET
- Payment Status ZimSwitch ProductionGET
- Payment Status Visa SandboxGET
- Payment Status MasterCard Sandbox CopyGET
- Payment Status Visa ProductionGET
- Payment Status Mastercard ProductionGET
- Generate Recurring Payment SandboxPOST
- Generate Payment Token SandboxPOST
- Generate Payment Token With Payment SandboxPOST
- Cancel Recurring Payment SandboxPOST
- Fast CheckoutPOST
- Fast Checkout SandboxPOST
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