Skip to main content

Inquire

Check the status of a payment against the token. If the customer has not paid, the response is transaction-pending. Use this call to confirm status when the IPN was not handled, or to cross-check the deduction.


Endpoint

MethodPOST
Path/ibft/transaction/verify
Sandboxhttps://sandbox.simpaisa.com/ibft/transaction/verify
Productionhttps://ibft.simpaisa.com/ibft/transaction/verify

Headers

HeaderValue
Accepttext/plain, application/json, application/*+json
Content-Typeapplication/json

Request Body

ParameterRequiredTypeLengthDescription
merchantIdYesString10Unique merchant ID
operatorIdYesString06Payment channel ID (100011)
transactionIdYesString01Transaction ID from Initiate
paymentTokenYesStringN/APayment token from Initiate

Response Body

ParameterDescription
statusSimpaisa response code
messageHuman-readable explanation
merchantIdMerchant identifier
operatorIdPayment channel ID
paymentTokenPayment token
transactionIdTransaction ID
amountTransaction amount
dateCreatedToken creation timestamp
paymentTokenExpiryDateTimeToken expiry timestamp
datePaidPayment completion timestamp (when paid)

Samples

Sample Request

{
"merchantId": "xxxxxxx",
"operatorId": "100011",
"transactionId": "xxxxxxx",
"paymentToken": "xxxxxxxxx"
}

Successful Response

{
"status": "0000",
"message": "Success",
"merchantId": "xxxxxxx",
"operatorId": "100011",
"paymentToken": "xxxxxxxxxxxxxxxxxxxx",
"transactionId": "xxxxxxxx",
"amount": "xxxx",
"dateCreated": "xxxxxxx",
"paymentTokenExpiryDateTime": "xxxxx",
"datePaid": "xxxxxx"
}
info

If the customer has not completed payment, status reflects transaction-pending. Poll until a final state is reached or the token expires.