Allowed values:1
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
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
HostedApplicationCompanyData
objectAny OfThe name of the company
Any OfOne of a supported subset of ISO 4217 codes for the currency the company uses primarily
Allowed values:USDCADAUDEURGBPSEKDKK
Any OfThe URL of the primary store
Any OfCompany’s annual revenue to the nearest whole number in company_currency
Any OfThe date the company onboarded to the partner
Any OfThe date the company was incorporated
Any OfOne of a supported subset of ISO-3166-1 alpha-2 codes for the country the company is located in
Allowed values:USCAGBIEBENLESDESEDKAU
Any OfThe state the company is located in
Allowed values:US-ALUS-AKUS-AZUS-ARUS-CAUS-COUS-CTUS-DEUS-FLUS-GAUS-HIUS-IDUS-ILUS-INUS-IAUS-KSUS-KYUS-LAUS-MEUS-MDUS-MAUS-MIUS-MNUS-MSUS-MOUS-MTUS-NEUS-NVUS-NHUS-NJUS-NMUS-NYUS-NCUS-NDUS-OHUS-OKUS-ORUS-PAUS-RIUS-SCUS-SDUS-TNUS-TXUS-UTUS-VTUS-VAUS-WAUS-WVUS-WIUS-WYUS-DCUS-ASUS-GUUS-MPUS-PRUS-VI
Any OfThe type of company
Allowed values:LPLLPLLCINCCOOP