Skip to main content
POST
/
v1
/
pay-connect
/
pair
cURL
curl --request POST \
  --url https://api-payment.lab4pay.com/v1/pay-connect/pair/ \
  --header 'Content-Type: application/json' \
  --header 'X-Pay-Connect-Integrator-Id: <x-pay-connect-integrator-id>' \
  --data '
{
  "name": "<string>",
  "otp": "<string>",
  "webhook_url": "<string>"
}
'
{
  "pay_connect_id": "<string>",
  "pay_connect_name": "<string>",
  "terminal_id": "<string>",
  "client_id": "<string>",
  "client_secret": "<string>",
  "webhook_secret_key": "<string>"
}
Store credentials in a secure, protected place. This is a one-time operation, and these credentials cannot be recovered later.New credentials can only be generated by unpairing and completing the process again with a new OTP.

Headers

X-Pay-Connect-Integrator-Id
string
required

Pay-Connect Integrator ID

Body

application/json
name
string
required

Your Pay-Connect name

otp
string
required

OTP code generated on Terminal or provided by support team

webhook_url
string

Webhook URL where Pay-Connect sends event notifications

Response

Successful operation

pay_connect_id
string
required

Unique Pay-Connect ID

pay_connect_name
string
required

Your Pay-Connect name provided in Pairing flow

terminal_id
string
required

Terminal ID

client_id
string
required

Client ID used for Authentication

client_secret
string
required

Client secret used for Authentication

webhook_secret_key
string | null

Webhook secret key used for Webhook signature verification