Skip to main content
POST
/
v1
/
pay-connect
/
transactions
/
refund
/
cURL
curl --request POST \
  --url https://api-payment.lab4pay.com/v1/pay-connect/transactions/refund/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Pay-Connect-Integrator-Id: <x-pay-connect-integrator-id>' \
  --data '
{
  "amount": 123,
  "client_transaction_id": "<string>"
}
'
{
  "transaction_id": "<string>"
}
Refunds are issued independently and are not tied to any transaction, whether completed or otherwise, and may cover the full amount or a partial sum.

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

Body

application/json
amount
integer
required

The amount of the refund payment, in cents

client_transaction_id
string

The reference of client transaction

Response

Successful operation

transaction_id
string
required

Transaction ID