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

Pay Mastercard Production Bulk

POST
/init/authenticate/merchant/bulkWallet

Request

Header Params

Body Params application/json

Examples

Responses

🟢200InititatePaymentVisa
text/plain
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/init/authenticate/merchant/bulkWallet' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchantId": "{{merchantId}}",
    "merchantApiKey": "{{merchantApiKey}}",
    "merchantKey": "{{merchantKey}}",
    "walletName": "Mastercard",
    "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}}
        }
    ]
}'
Response Response 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-11-17 18:54:15
Previous
Pay Mastercard Sandbox Bulk
Next
Pay Visa Sandbox Bulk
Built with