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 Token Object. Any fields that are not populated based on the request or null will not return as part of the object.
|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 Token Object, a list of tokens or an error object.|
|links||A/N||Links to approved transaction and created token. Returned when creating a token as part of a Sale or Auth transaction.|