Allowed values:1
Create company token
Create a company token to be used to authenticate requests to company scoped endpoints on behalf of a company.
This should be called server-side and the resulting company token passed to the front end.
Headers
Body
application/json
Body
CompanyTokenRequest
An identifier in the partner’s system that uniquely identifies the company to create a token for
An identifier in the partner’s system that uniquely identifies the specific user for the company
Response
application/json
Response
OK
CompanyTokenResponse
A token that can be used to authenticate requests to company scoped endpoints. Pass this to the front end
The number of seconds until the token expires
Authentication
Headers
Body
Create partner token
Create a partner token to be used to authenticate requests to partner scoped endpoints.
This should be called server-side. Never expose the partner_id or partner_secret or the resulting partner
token to the front end.
Requests are limited to 10 requests per IP per hour.
Headers
Allowed values:1
Body
application/json
Body
PartnerTokenRequest
An identifier for the partner created and shared with the partner by Wayflyer during onboarding. Never expose this to the front end.
A secret that can be used to authenticate requests to partner scoped endpoints. Never expose this to the front end.
Response
application/json
Response
OK
PartnerTokenResponse
A token that can be used to authenticate requests to partner scoped endpoints. Never expose this to the front end
The number of seconds until the token expires
Headers
Body
StartHostedApplicationResponse
objectThe URL to redirect to the user to after making this API call
Any OfThe ID of the hosted application created by this API call
CanadianProvinceCode
stringAllowed values:CA-ABCA-BCCA-MBCA-NBCA-NLCA-NSCA-ONCA-PECA-QCCA-SKCA-NTCA-NUCA-YT
CompanyType
stringAllowed values:LPLLPLLCINCCOOP