Partial Refund Status Inquiry by TxnID

Merchant is able to do a status inquiry for a refund transaction.

Method : POST or GET

Field NameData Type(Size)M/ODescription
TxnIDn(1..20)MPG Transaction ID
MerchantIDa(1..32)MMerchant ID provided by PG
Signaturen(1..32)MThis is the data integrity protection hash string.
Signature = md5( {TxnID}{MerchantID}{verify_key} )

Response

PG responds JSON format to merchant upon a successful request (positive result)

Field NameData Type(Size)M/ODescription
TxnIDn(1..20)MEcho of merchant request
RefIDans(1..100)MUnique tracking/references ID from merchant
RefundIDn(1..11)MRefund ID provided by PG
StatusenumM'pending', 'processing', 'rejected', 'success'
LastUpdateans(1..255)MLast update timestamp.
FPXTxnIDans(1..100)OFPX channel Transaction ID

Appendix for Partial Refund and Partial Refund Status Inquiry

Appendix A : Data Type Details

CodeDescription
aLetters, A-Za-z
nNumbers, 0-9
sSymbols, .,?* !&.-
xFixed length x
y..xLength range: y ~ x
y,xNumber range: 0-9, 0-9

Appendix B : M/O Details

CodeDescription
MMandatory field
OOptional field.
CConditional field.

Appendix C : Error Code & Description in JSON

Appendix C: Error Code & Description in JSON

error_codeerror_desc
PR001Refund Type not found.
PR002MerchantID field is mandatory.
PR003RefID field is mandatory.
PR004TxnID field is mandatory
PR005Amount field is mandatory.
PR006Signature field is mandatory
PR007Merchant ID not found.
PR008Invalid Signature.
PR009Txn ID not found.
PR010Transaction must be in authorized/captured/settled status. Current transaction is in TRANSACTION_STATUS status.
PR011Exceed refund amount for this transaction.
PR012Bank information is not applicable for credit channel transaction.
PR013BankCode not found in our database, please contact support.
PR014Bank information is mandatory for non-credit channel transaction.
PR015Server is busy, try again later.
PR016Duplicate RefID found, please provide a unique RefID.
PR017Refund request for transaction that is out of the allowed period.
PR018BeneficiaryName cannot contain non-alphanumeric characters.
PR019Refund is not allowed / Only partial refund is allowed / Only full refund is allowed.
PR020Insufficient balance to refund.
INQ001TxnID field is mandatory.
INQ002MerchantID field is mandatory.
INQ003Signature field is mandatory.
INQ004Merchant ID not found.
INQ005Invalid Signature.
INQ006Unable to find refund transaction.
INQ011RefID field is mandatory.
Language
Click Try It! to start a request and see the response here!