B2B API Specification

Version version: 3.2.13

production
sandbox

B2B Payment API

Grant Type: Client Credentials or Refresh Token

This endpoint serves multiple purposes. It will grant the initial access token via the parameter, as well as a refresh token via the parameter.

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:
12

Loading...

Request Schema
client_id required
string

Loading...

client_secret required
string

Loading...

grant_type required
string
Default:
client_credentials

Loading...

Example Request
{
  "client_id": "string",
  "client_secret": "string",
  "grant_type": "client_credentials"
}
Example Response
201 Successful Response
422 Validation Error

Contact Us

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.