Arguments
Copy
Ask AI
mutation reverseTransaction($reverseTransactionInput: ReverseTransactionInput!) {
reverseTransaction(reverseTransactionInput: $reverseTransactionInput) {
reverseTransactionResponse {
cardDetails {
paymentBrand
last4
}
networkResponseDetails {
processorResponseCode
networkResponseCode
}
timestampUtc
transactionId
paymentId
duration
activityDate
isDuplicateRequest
tokenDetails {
tokenizedPan
token
}
}
errors {
... on InternalServiceError {
message
dateTimeUtc
errorDateTime
transactionId
processorResponseCode
}
... on RuleInViolationError {
message
advice
explanationOfRule
ruleName
processorResponseCode
dateTimeUtc
errorDateTime
transactionId
}
... on SyntaxOnNetworkResponseError {
message
attemptedNetwork
processorResponseCode
dateTimeUtc
errorDateTime
transactionId
}
... on TimeoutOnNetworkResponseError {
message
waitTime
attemptedNetwork
processorResponseCode
dateTimeUtc
errorDateTime
transactionId
}
... on ValidationFailureError {
message
transactionId
dateTimeUtc
errorDateTime
processorResponseCode
fieldPath
fieldName
valueInError
}
... on PriorTransactionNotFoundError {
message
unknownTransactionId
processorResponseCode
dateTimeUtc
errorDateTime
transactionId
}
}
}
}
Response
Returns a ReverseTransactionPayloadCopy
Ask AI
{
"data": {
"reverseTransaction": {
"reverseTransactionResponse": ReverseTransactionResponse,
"errors": [
InternalServiceError
]
}
}
}