33 lines
838 B
Markdown
33 lines
838 B
Markdown
the processorResponse object is located in the ErrorDetails or in ResultDetails if there is no error.
|
|
|
|
should it just be in ResultsDetails if it exists?
|
|
|
|
example responses
|
|
|
|
"resultDetails": {
|
|
"errorDetails": {
|
|
"statusCode": 400,
|
|
"code": 538,
|
|
"info": "Error processing payment",
|
|
"processorResponse": {
|
|
"customCode": "BAD_REQUEST",
|
|
"message": "Expiry date [1/2000] is in past"
|
|
}
|
|
}
|
|
}
|
|
|
|
"resultDetails": {
|
|
"processorResponse": {
|
|
"transactionID": "ca7dbb41-6c2c-4d00-a52a-126a4374248b"
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
actually i think this is just a bug as the swagger model has processorResponse under resultsDetails.
|
|
|
|
resultDetails {
|
|
errorDetails ErrorDetails{...}
|
|
processorResponse processor-response{...}
|
|
} |