Query Refund Merchant should call this api to get the status of specific refund. API Parameters: Parameter Type Example Description refund_no String Refund no of Omipay. language String EN Success returns: Parameter Type Example Description return_code String SUCCESS SUCCESS result_code String CLOSED status of refund. out_refund_no String Out order No. currency String AUD Currency No of refund amount int 100 amount in order currency type. refund_time String Refund create date. In formats of yyyyMMddHHmmss success_time String Actually refund time. In formats of yyyyMMddHHmmss; If refund status is not CLOSED, then returns empty string. Fail returns: Field Type Example Description return_code String FAIL FAIL error_code String SYSTEM_ERROR Code of error error_msg String Server error Description of error code list: Error code Description PARAMETER_INVALID Invalid parameters. SIGN_TIMEOUT Time expires. MERCHANTNO_INVALID Merchant number is invalid. SIGN_ERROR Signature check failed. SYSTEM_ERROR System unhandled error. PERMISSION_ERROR Permission error, Occurs when the order number is not belongs to current merchant. REFUND_NO_ERROR Refund No is not correct. Request example: https://www.omipay.com.au/omipay/api/v2/QueryRefund? Success returns: { "return_code": "SUCCESS", "result_code": "CLOSED",
Query Refund Merchant should call this api to get the status of specific refund. API Parameters: Parameter Type Example Description refund_no String Refund no of Omipay. language String EN Success returns: Parameter Type Example Description return_code String SUCCESS SUCCESS result_code String CLOSED status of refund. out_refund_no String Out order No. currency String AUD Currency No of refund amount int 100 amount in order currency type. refund_time String Refund create date. In formats of yyyyMMddHHmmss success_time String Actually refund time. In formats of yyyyMMddHHmmss; If refund status is not CLOSED, then returns empty string. Fail returns: Field Type Example Description return_code String FAIL FAIL error_code String SYSTEM_ERROR Code of error error_msg String Server error Description of error code list: Error code Description PARAMETER_INVALID Invalid parameters. SIGN_TIMEOUT Time expires. MERCHANTNO_INVALID Merchant number is invalid. SIGN_ERROR Signature check failed. SYSTEM_ERROR System unhandled error. PERMISSION_ERROR Permission error, Occurs when the order number is not belongs to current merchant. REFUND_NO_ERROR Refund No is not correct. Request example: https://www.omipay.com.au/omipay/api/v2/QueryRefund? Success returns: { "return_code": "SUCCESS", "result_code": "CLOSED",
Omipay%20Web%20API_v2.03_AU.docx