Direct Status Requery

This will trigger a query to the payment channel or bank status server and there are cases that bank status server is not in-sync with its payment server that might give different results, that leads to a defer update and will trigger a callback from PG server, once the status is synced and changed.

Note : No result available for transactions more than 1 day or 24 hours.

Response

Variable / ParameterType Format / Max LengthDescription / Example
Amount2 decimal points numeric valueThe payment amount
TranIDinteger, 20 digitsUnique transaction ID for tracking purpose.
Domainalphanumeric, 32 charsMerchant ID in PG system.
Channelalphanumeric, 100 charsPayment via Channel
VrfKey32 chars hexadecimal stringThis is the data integrity protection hash string.
StatCodestring of 2-digit numeric00 = Success, 11 = Failure, 22 = Pending
StatNamealphanumericSuccess: captured, settled, authorized, Failure: failed, cancelled, chargeback, release, reject/hold, blocked, ReqCancel, ReqChargeback, Pending: Pending, Unknown
Currency3 chars ISO-4217 currency codeThe payment currency. E.g. MYR, USD, EUR, AUD, SGD, CNY, IDR
ErrorCodealphanumericError code defined by channel for failed transactions only
ErrorDescalphanumericError description defined by channel for failed transactions only
ProcessorResponseCodealphanumericAuthorization response code
ProcessorCVVResponsealphaCredit Card validation response code
SchemeTransactionIDalphanumericTransaction ID provided by CC Schemes.
MerchantAdviceCodenumericMasterCard issuers use the Merchant Advice Code (MAC) in authorization request responses to communicate with merchants about a cardholder's account
ECInumericElectronic Commerce Indicator (ECI) is a value returned by Directory Servers (namely Visa, MasterCard, MyDebit, JCB, and American Express) indicating the outcome of authentication attempted on transactions enforced by 3DS
3DSVersionalphanumericVersion of the 3DS use to authenticate the transaction
ACSTransactionIDalphanumericACS transaction identifier
3DSTransactionIDalphanumeric3DS transactions identifier

Formula of skey & VrfKey

skey = md5({txID}{domain}{verify_key}{amount})
VrfKey = md5({Amount}{secret_key}{Domain}{TranID}{StatCode})

Example of Direct Status Requery for PHP

<?php

$skey = md5($txID . $domain. "xxxxxxxxxx" . $amount);
//Replace xxxxxxxxxx with Verify Key

echo "<a
href='https://api.fiuu.com/RMS/API/gate-query/index.php?amount=3899&txID=65234&domain=shopA&skey=e1c4c60c99116fffc3ce77bd5fd0f7b1'>
Check payment status for tran ID 65234 </a>";

?>
Language
Click Try It! to start a request and see the response here!