v1

latestOpenAPI 3.0.12026-07-2412502.6 MB
Sales

Reprocess a sale

Reprocess a sale where all transaction attempts have declined and is in the Failed status.

post/sales/{sale_id}/reprocess

Request body

transaction_idinteger

Pass an optional transaction_id to attempt to process a specific transaction. If not passed, the most recent transaction will be reattempted.

sale_notesstring

Apply note to the history of this sale.

Response

OK

successboolean
response_codeinteger
responsestring
gateway_response_idstring
gateway_response_gateway_idstring
gateway_response_codestring
gateway_auth_codestring
gateway_response_cvvstring
gateway_response_avsstring
gateway_response_textstring
gateway_request_textstring
processor_response_textstring
date_requeststring date-time nullable
date_responsestring date-time nullable
merchant_idinteger
merchant_descriptorstring nullable
reasonstring nullable

Reason in case of merchant error.

gateway_response_descriptionstring
gateway_hard_declinestring
transaction_idinteger
transaction_totalstring
post_datastring nullable
shipment_idinteger nullable

Example response

{
  "date_request": "2023-04-01 00:00:00",
  "date_response": "2023-04-01 00:00:00",
  "reattempt_data": [
    {
      "date_request": "2023-04-01 00:00:00",
      "date_response": "2023-04-01 00:00:00"
    }
  ]
}