Search
K
Embedded Finance

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.

post
https://api.wayflyer.com/financing/v1/partner-token/

Body

application/json

PartnerTokenRequest

partner_idstringrequired

An identifier for the partner created and shared with the partner by Wayflyer during onboarding. Never expose this to the front end.

partner_secretstring(password)required

A secret that can be used to authenticate requests to partner scoped endpoints. Never expose this to the front end.

Response

application/json

OK

PartnerTokenResponse

tokenstringrequired

A token that can be used to authenticate requests to partner scoped endpoints. Never expose this to the front end

expires_inintegerrequired

The number of seconds until the token expires

post/v1/partner-token/

Body

{ "partner_id": "partner_id", "partner_secret": "partner_secret" }
 
application/json

BannerData

object
offerAny Of

Offer data to display in the CTA

Offerobject
Show Child Parameters
configAny Of
required

Configuration for the CTA

ContinueApplicationBannerConfigobject
Show Child Parameters
Example

BannerResponse

object
statestringrequired

The type of CTA to display

Allowed values:continue_applicationindicative_offergeneric_offer

dataobjectrequired

Data to display in the CTA

Show Child Parameters
Example

BannerState

string

Allowed values:continue_applicationindicative_offergeneric_offer

ContinueApplicationBannerConfig

object
textstringrequired

Display text for the CTA

bullet_pointsarray[string]

List of text bullet points to display in the CTA

button_labelstringrequired

Label for the button

Example