Sale API Response Object

The description of the Sale API response object

The Sale API returns a response in standard JSON format. The following table lists the properties of a Sale API response:

Top-Level Properties

PropertyDescription
authorizationNumberThe gateway authorization number.
batchNumberThe system-generated batch number.
transactionNumberThe system-generated transaction number.
approvedThe transaction status.
approvedMsgApproved if the transaction was approved and null if it was not.
logDateThe transaction timestamp.
errorsThe errors subobject array if any.
warningsThe warnings subobject array if any. You should review them even though the gateway approved the transaction.

errors Subobject (Array)

PropertyDescription
codeThe error code.
messageThe error message.
canOverrideWhether you can override the error. If true, you can override the error by resending the same exact transaction after approval from PPS.

warnings Subobject (Array)

PropertyDescription
codeThe warning code.
messageThe warning message.

You can find examples of this response object here.