Acquisition Handover Journey

Learn how to begin or resume an acquisition journey, and smoothly transition it to our platform.

Overview

As a NewDay partner, you can choose to host the first step of the customer acquisition process directly on your own website. This means collecting customer details in a quote form and checking customer eligibility.

In addition, you can allow your applicant to drop off during their acquisition journey and subsequently return to it by logging back into the account they have with you.

Before handing over

Before handing over, you’ll need to collect the applicants data on a 'check eligibility' form and then use that data to perform an eligibility check by calling the Eligibility endpoint. The API documentation providse details on mandatory fields and required validations. After reaching this stage, the application can be handed over to us.

The Handover Journey can take place two scenarios using the same process:

  • After receiving a check eligibility response from the Acquisition API.
  • If the customer drops off and wants to resume the journey at a later point.

To hand over control of the journey to us you'll have to generate a JWT token in your code and pass it to our endpoint.

Create a token

The JSON Web Token (JWT) you pass to us will need the below details. This will allow us to retrieve customers' information from our database and display the appropriate UI based on their application status.

The token Algorithm is HS256 and the token Header must contain the following:

Javascript

1{
2  "alg": "HS256",
3  "typ": "JWT"
4}

The payload information is as follows.

ParameterLocationDescriptionFormat
idPayloadA 36-digit identifier that identifies the customer application in our databases.guid
customerRefPayloadA 36-digit identifier that identifies your brand/product, this value will be provided to you.guid
expPayloadThe token expiration date is formatted as a number of seconds elapsed since epoch. Tokens should be valid for 5 minutes.integer
orderRefPayloadMandatory for checkout journey. Required to authorise spend.string
offerIdsPayloadOptional. Allows NewDay to retrieve specific offers.string[]
basketAmountTotalPayloadMandatory for inside checkout. Total amount of customer basket.integer
basketAmountIndividualPayloadOptional. Amount of each individual item in customer basket.integer[]
basketDescriptionPayloadOptional. Higl level basket description.string
loyaltyProgramPayloadOptional. The customer is purchasing a loyalty membership.bool
channelPayloadMerchantCheckout if your customer is applying for credit as part of purchasing items from your platform. MerchantBrowsing otherwisestring

Sign the token with the signature key provided by your Account Manager. This is secret key that should be kept secure and not shared with anyone. After creating and signing the JWT token, the customer should be redirected to our handover URL. If you are embedding our application, the base URL will be specific to your organisation and follows the below format.

Javascript

1https://apply.[your domain].com/[your brand]/online/[your product]/handover?token=<token>&iframe=<true/false>&analyticsCookieConsent=<true/false>"
NewDay will provide the brand-specific base URL and values for brand, channel, and product. The endpoint requires the following items passed as parameters into the query string URL.
ParameterDescription
iframeOptional. Accepts values of true or false. If no value for the parameter then assumed to be false
analyticsCookieConsentOptional. Accepts values of true or false. If no value for the parameter then assumed to be false. If true it allows us to activate analytics cookies
tokenMandatory.

Once the application matching the id in the token is fetched, NewDay will show the appropriate page based on the application status. The status post check eligibility is usually one of: quoteAccept, quoteDecline or complexRefer. If the customer is accepted they will be able to continue their journey on NewDay's website.

Still have questions

Can’t find the answer to your question? Our friendly team are more than happy to help

Was this page helpful?