Skip to main content
POST
/
v1
/
pay-connect
/
transactions
/
{transaction_id}
/
cancel
cURL
curl --request POST \
  --url https://api-payment.lab4pay.com/v1/pay-connect/transactions/{transaction_id}/cancel/ \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Pay-Connect-Integrator-Id: <x-pay-connect-integrator-id>'
Cancel returns 200 before the transaction was canceled on terminal.It is important that the status endpoint is used for polling or webhook to confirm the status change. There might be a case where the terminal could not process cancellation or the transaction was already completed before the terminal received the cancellation.

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