cURL
curl --request POST \ --url https://api-payment.lab4pay.com/v1/pay-connect/transactions/generate/ \ --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>", "payment_method": "<string>" } '
{ "transaction_id": "<string>" }
A transaction will be initiated and sent to the terminal.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Pay-Connect Integrator ID
The amount of the payment, in cents
The reference of client transaction
The payment method of the payment, if it is not provided, the terminal displays a payment method selector
Successful operation
Transaction ID