Skip to main content
POST
/
v1
/
pay-connect
/
transactions
/
preauth
/
cURL
curl --request POST \
  --url https://api-payment.lab4pay.com/v1/pay-connect/transactions/preauth/ \
  --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>"
}

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 payment, in cents

client_transaction_id
string

The reference of client transaction

Response

Successful operation

transaction_id
string
required

Transaction ID