cURL
curl --request POST \ --url https://api-payment.lab4pay.com/v1/auth/token/ \ --header 'Content-Type: application/json' \ --data ' { "grant_type": "client_credentials", "client_id": "<string>", "client_secret": "<string>" } '
{ "access_token": "<string>", "expires_in": "<string>", "token_type": "Bearer", "scope": "default" }
Authentication is required for all requests except Pairing. Once you have the credentials from the pairing process, proceed with the integration instructions.
Grant type
Client ID returned in Pairing section
Client secret returned in Pairing section
Successful operation
Access token
Token validity
Token type
Scope