Responses

Formats and Fields

Transaction responses are received from the Clearent Payment Gateway with a body consisting of a Response Object. The response Object Includes a payload field that is populated with either, an Error Response, Transaction Object or Batch Object. Any fields that are not populated based on the request or null will not return as part of the object.

Field Name Format Notes
code A/N HTTP Status Code returned.
status A/N Success or fail.
exchange-id A/N Unique Identifier for request. Log this and use it to help Clearent get you answers faster on any issues you may have.
payload A/N payload Returned from the request. Could be a Transaction Object, a list of transactions, a batch, a list of batches or an error object.
links A/N Link to approved transactions.

For information about the Transaction Object, please click here.