obtasks/archive/bridge-1001/what.md
2019-04-29 14:49:56 +01:00

838 B

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{...} }