Skip to main content
POST
/
Gateway
/
v
{version}
/
Payment
/
charge-mobile-wallet
curl --request POST \
  --url https://gateway.dev.waypay.live/Gateway/v1/Payment/charge-mobile-wallet \
  --header 'SWICH-API-Key: pk_test_xxxxxxxx' \
  --header 'Content-Type: application/json' \
  --data '{
    "token": "abc123xyz789",
    "mobileNumber": "03123456789",
    "amount": 500,
    "walletProvider": 1,
    "description": "Subscription payment"
  }'
{
  "trxnRef": "TXN20251212123456",
  "status": "Success",
  "message": "Payment processed successfully"
}

Overview

This endpoint allows you to charge a customer’s mobile wallet (JazzCash, Easypaisa, etc.) using a previously generated payment token. This is useful for recurring payments or saved payment methods.

Path Parameters

version
string
required
API version (e.g., “1”)

Request Body

token
string
required
Payment token obtained from initiate-token endpoint
mobileNumber
string
required
Customer’s mobile wallet number
amount
number
required
Amount to charge (minimum 10)
walletProvider
integer
required
Mobile wallet provider:
  • 1 - JazzCash
  • 2 - Easypaisa
description
string
Payment description

Response

trxnRef
string
Transaction reference number
status
string
Transaction status (e.g., “Success”, “Pending”, “Failed”)
message
string
Response message with additional details
curl --request POST \
  --url https://gateway.dev.waypay.live/Gateway/v1/Payment/charge-mobile-wallet \
  --header 'SWICH-API-Key: pk_test_xxxxxxxx' \
  --header 'Content-Type: application/json' \
  --data '{
    "token": "abc123xyz789",
    "mobileNumber": "03123456789",
    "amount": 500,
    "walletProvider": 1,
    "description": "Subscription payment"
  }'
{
  "trxnRef": "TXN20251212123456",
  "status": "Success",
  "message": "Payment processed successfully"
}