Skip to main content

Verify Non-OTP

One-time Payment Without OTP

This flow processes a wallet payment without an OTP. The customer approves the payment in the wallet app (or via USSD), and the merchant makes the final decision based on the postback/webhook.

info

This is an asynchronous flow. The Verify API returns Transaction-Pending first, then Simpaisa notifies you later.


Approval Window

WalletMaximum time to approve
Easypaisa60 seconds
JazzCash360 seconds

Sequence

  1. The user initiates payment on the merchant checkout.
  2. The merchant calls the Verify API (without OTP).
  3. Simpaisa validates the request, stores the data, and forwards it to the wallet channel.
  4. Simpaisa returns a synchronous response: Transaction-Pending (status = 0037).
  5. The wallet requests customer authentication/approval (~60–360 sec).
  6. The wallet updates the payment status to Simpaisa.
  7. Simpaisa sends a postback/webhook to the merchant callback URL with the final status.

If you don't receive a postback, call the Inquire API to fetch the latest status.


Headers

HeaderRequiredDescription
Content-TypeYesapplication/json
operatorIDYesWallet operator code, e.g. 100008
Request-IdNo (recommended)Unique request identifier for idempotency
modeYespayin
regionYesPK
versionYes3.0

Sample

curl -X POST "https://sandbox.simpaisa.com/v2/wallets/transaction/verify" \
-H "Content-Type: application/json" \
-H "operatorID: 100008" \
-H "Request-Id: 341324134" \
-H "mode: payin" \
-H "region: PK" \
-H "version: 3.0" \
-d '{
"merchantId": "2000888",
"operatorId": "100008",
"userKey": "1612138803922",
"msisdn": "3219200750",
"transactionType": "0",
"amount": "2016.00",
"productReference": "thunes"
}'
{
"merchantId": "2000888",
"operatorId": "100008",
"userKey": "1612138803922",
"msisdn": "3219200750",
"transactionType": "0",
"amount": "2016.00",
"productReference": "thunes"
}

Sample Webhook (final Status)

{
"status": "0000",
"message": "Success",
"msisdn": "3097524704",
"operatorId": "100007",
"merchantId": "20000XX",
"transactionId": "49068982",
"amount": "1",
"createdTimestamp": "2023-06-08 16:09:56.0",
"updatedTimestamp": "2023-06-08 11:10:38.779",
"userKey": "36937443",
"transactionType": "0"
}

User Journey