This endpoint serves multiple purposes. It will grant the initial access token via the parameter, as well as a refresh token via the parameter.
B2B Payment API
Grant Type: Client Credentials or Refresh Token
Get Client Credentials or Refresh Token
post /v3/token
For grant_type=client_credentials the client_id should be your PayTrace API username, while the client_id is your PayTrace API password.
For grant_type=refresh_token only a refresh_token is required (it should be the value of the refresh_token provided by a client_credentials call).
Example of the initial client_credentials request:
Example of the refresh_token request:
Parameters
X-Integrator-Id
string
Maximum:
12Loading...
Request Schema
client_id required
string
Loading...
client_secret required
string
Loading...
grant_type required
string
Default:
client_credentials
Loading...
Example Request
Example Response
201 Successful Response
422 Validation Error