Skip to main content
POST
/
v1
/
pay-connect
/
transaction-operations
/
{transaction_id}
/
revert
cURL
curl --request POST \
  --url https://api-payment.lab4pay.com/v1/pay-connect/transaction-operations/{transaction_id}/revert/ \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Pay-Connect-Integrator-Id: <x-pay-connect-integrator-id>'
{
  "operation_id": "<string>",
  "transaction_id": "<string>"
}
Operation details endpoint have to be used for polling or webhook to confirm the status change.There might be a case where the terminal could not process revert or the transaction was already completed before the terminal received the revert operation.
Only the most recent successfully completed transaction can be reverted.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Pay-Connect-Integrator-Id
string
required

Pay-Connect Integrator ID

Path Parameters

transaction_id
string
required

ID of the transaction

Response

Successful operation

operation_id
string
required

Operation ID

transaction_id
string
required

Transaction ID