Skip to main content

Refund Response

Response returned after processing a refund request.

refundRequestReturnType refundRequestReturnType
rtidstring

Refund transaction identifier.

Example: dv-ref-test8-refund
mtidstring

Merchant transaction identifier of the original transaction.

Example: dv-ref-test8
amountnumber<double>

Refund amount.

Example: 10
currencystring

Currency of the refund.

Example: EUR
subIdstringnullable

Optional sub-identifier.

validationOnlyboolean

Indicates whether the refund request was validation-only.

Example: true
resultCodeinteger

Result code returned for the refund request.

Example: 0
errorCodeinteger

Error code returned for the refund request.

Example: 0
errorCodeDescriptionstring

Description associated with the returned error code.

Example:
Refund Response
{
"refundRequestReturnType": {
"rtid": "dv-ref-test8-refund",
"mtid": "dv-ref-test8",
"amount": 10,
"currency": "EUR",
"subId": "string",
"validationOnly": true,
"resultCode": 0,
"errorCode": 0,
"errorCodeDescription": ""
}
}