Calls made at Authenticate. Taught at /rail/stops/Authenticate.
Exchange client credentials for an access token.
Exchange your client_id and client_secret for an access token using the client_credentials grant. Tokens expire after 30 minutes (expires_in: 1800) and no refresh token is issued — request a new token on expiry.
Keep from the response: access_token
Taught in: 00 · Authenticate
Exchange client credentials for an access token. › Request Body
client_idThe client identifier issued to your integration.
client_secretThe client secret issued alongside the client_id.
grant_typeMust be client_credentials.
Exchange client credentials for an access token. › Responses
Access token issued successfully.
access_tokenexpires_inrefresh_expires_intoken_typescopeRegister webhook endpoints for preauth, claim and remittance decisions.
Register webhook endpoints for preauth, claim and remittance decisions.
Not implemented yet. No /api/v1/callbacks route is registered in the service, and no X-Callback-Url header is read. Today a preauth outcome is delivered to the callback_url sent on POST /api/v2/visits (or to the tenant's preauth endpoint when none was sent), and a claim outcome goes to the tenant's claim endpoint. Remittances are not delivered anywhere yet.
Keep from the response: callback_id
Taught in: 00 · Authenticate
Register webhook endpoints for preauth, claim and remittance decisions. › Request Body
urleventssecretRegister webhook endpoints for preauth, claim and remittance decisions. › Responses
Returns callback_id.

