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

      Pay Visa Production Bulk

      POST
      /init/authenticate/merchant/bulkWallet

      Request

      Header Params
      Content-Type
      string 
      required
      Example:
      application/json
      Body Params application/json
      object {0}
      Example
      {
          "merchantId": "{{merchantId}}",
          "merchantApiKey": "{{merchantApiKey}}",
          "merchantKey": "{{merchantKey}}",
          "walletName": "Visa",
          "amount": "{{amount}}",
          "paymentCurrency": "USD",
          "paymentDescription": "{{payerDescription}}",
          "payerName": "{{payerName}}",
          "payerReference": "{{payerReference}}",
          "payerAccountId": {{accountId}},
          "profileId": {{profileId}},
          "dynamicPaidList": [
              {
                "dynamicMerchantId": "{{Approved Merchant ID}}",
                  "dynamicPayoutPercentage": {{Percentage 1-100 i.e 50}}
              },
              {
                  "dynamicMerchantId": "{{Approved Merchant ID}}",
                  "dynamicPayoutPercentage": {{Percentage 1-100 i.e 50}}
              }
          ]
      }

      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/init/authenticate/merchant/bulkWallet' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "merchantId": "{{merchantId}}",
          "merchantApiKey": "{{merchantApiKey}}",
          "merchantKey": "{{merchantKey}}",
          "walletName": "Visa",
          "amount": "{{amount}}",
          "paymentCurrency": "USD",
          "paymentDescription": "{{payerDescription}}",
          "payerName": "{{payerName}}",
          "payerReference": "{{payerReference}}",
          "payerAccountId": {{accountId}},
          "profileId": {{profileId}},
          "dynamicPaidList": [
              {
                "dynamicMerchantId": "{{Approved Merchant ID}}",
                  "dynamicPayoutPercentage": {{Percentage 1-100 i.e 50}}
              },
              {
                  "dynamicMerchantId": "{{Approved Merchant ID}}",
                  "dynamicPayoutPercentage": {{Percentage 1-100 i.e 50}}
              }
          ]
      }'

      Responses

      🟢200InititatePaymentVisa
      text/plain
      Body
      auth
      object 
      required
      token
      string 
      required
      user
      object 
      required
      errorResponse
      object 
      required
      paymentInitiationResponse
      object 
      required
      status
      string 
      required
      paymentTokenExpiry
      null 
      required
      paymentTokenDescription
      string 
      required
      paymentToken
      null 
      required
      paymentId
      string 
      required
      Example
      {
        "auth": {
          "token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjksIlJvbGVzIjoiVVNFUiIsInN1YiI6ImFuZXN1QHNtYXRlY2hncm91cC5jb20iLCJpYXQiOjE3MTg5NjY3MTYsImV4cCI6MTcxODk4NDcxNn0.n-vy2K6-1wyoP9hmZmztpNtewgqkYFVY-XMXqiR-00__BuUMp3dGLtg8JhkFTDNh5SpG0SKHgS0u6FlW11knZA",
          "user": {
            "id": 9,
            "email": "anesu@smatechgroup.com",
            "role": "USER",
            "token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjksIlJvbGVzIjoiVVNFUiIsInN1YiI6ImFuZXN1QHNtYXRlY2hncm91cC5jb20iLCJpYXQiOjE3MTg5NjY3MTYsImV4cCI6MTcxODk4NDcxNn0.n-vy2K6-1wyoP9hmZmztpNtewgqkYFVY-XMXqiR-00__BuUMp3dGLtg8JhkFTDNh5SpG0SKHgS0u6FlW11knZA"
          },
          "errorResponse": {
            "errorMessage": null,
            "statusCode": 0
          }
        },
        "paymentInitiationResponse": {
          "status": "000.100.110",
          "paymentTokenExpiry": null,
          "paymentTokenDescription": "Request successfully processed in 'Merchant in Integrator Test Mode'",
          "paymentToken": null,
          "paymentId": "8ac7a4a09039ce5001903a669eb46d9c"
        }
      }
      Modified at 2025-03-10 20:49:15
      Previous
      Pay Visa Sandbox Bulk
      Next
      Pay ZimSwitch Sandbox Bulk
      Built with