The output parameters for GETREFUNDSTATUSBYMERCHANTREFUNDID are the same as for the GETREFUNDSTATUS response
Output parameters for the GETREFUNDSTATUSBYMERCHANTREFUNDID call:
Field | Type | Description |
---|---|---|
REQUESTSTATUS | ascii | Possible values: • SUCCEEDED : the refund status values reflect the status of the referenced refund.• FAILED : the GETREFUNDSTATUSBYMERCHANTREFUNDID call failed. Check ERRMSG for details. |
REQUESTFAILREASON | ascii | Only returned if REQUESTSTATUS has FAILED. See REQUESTFAILREASON for possible values. |
STATUS | ascii | The outcome of the request. Possible values: • SUCCEEDED • FAILED |
REFUNDID | ascii | Unique refund identifier. Maximum 20 characters [a-zA-Z0-9.,-_]. In case of severe errors (e.g. authentication not possible) this will be “0”, otherwise a valid refund identifier is always assigned. |
MERCHANTREFUNDID | ascii | The value of the merchantrefundid parameter sent by the client in the REFUND call. |
ERRMSG | utf8 | Human readable error message - up to 128 characters. |
FAILREASON | ascii | Returned only if STATUS is FAILED . Possible values:• UNKNOWN : the refund failed for unknown reasons (also default in reporting in case of succeeded refunds).• QUOTA : money-holding, AML or other banking regulations make in unable to fulfill the refund request.• LOCAL_ERROR : local system error. Contact Payment Gateway support.• REMOTE_ERROR : a remote processing error occurred. If this is not temporary, contact Payment Gateway support.• LOCAL_DECLINE : The Payment Gateway declined the refund, for example due to risk management.• REMOTE_DECLINE : a remote system declined the refund, for example due to a failed payment process authentication. |
SUCCEEDED response
RAND1259281715=3ca3b46bc2e7581749adaae3928458f0d437bd6e
&REQUESTSTATUS=SUCCEEDED
&STATUS=SUCCEEDED
&REFUNDID=1234567890
&MERCHANTREFUNDID=MS123R
&ERRMSG=