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 Status Mastercard Production

GET
/api/getPaymentDetails

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Payment Details Zimswitch
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/getPaymentDetails' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
   "transactionReference":"7FB266E05FE716C8FC13ADF9EE4C7859.uat01-vm-tx04",
   "walletName" : "Mastercard"
}'
Response Response Example
[
    {
        "status": "Paid",
        "description": "",
        "paymentCurrency": "USD",
        "paymentAmount": 10.0,
        "paymentCharges": 0.8499999999999996,
        "paymentReference": "9fed47af-72db-44cb-8d90-ba262d9ec9c3",
        "paymentMethod": "Mastercard",
        "paymentDate": "2025-02-18T14:13:20.944+00:00"
    }
]
Modified at 2025-11-17 18:54:15
Previous
Payment Status Visa Production
Next
Generate Payment Token Sandbox
Built with