Accept (Save and return)
Learn about our save and return journey for customer onboarding. When an applicant leaves their journey, they can save and return to complete their application.
SSO Widget - Log in
Authenticate customer to retrieve their customerRef to continue the application journey.
The customerRef is used to retrieve application states and substates to understand where to place the customer in the journey using the GetCustomerJourneyDetailsUsingCustomerRef endpoint.
renderDocument
Retrieve and display an applicant’s Important Customer Information, Pre-contract Credit Information, and the Credit Agreement in HTML or PDF. This endpoint is called once per document that is retrieved.
signature
An applicant will tick their e-signature and submitting this will confirm they have accepted the terms of their agreement. The response returned will define the next step in the customer journey, for this journey, the state is defined below.
Please note that signature, requestDecision and createCustomer steps happen sequentially.
requestDecision
Perform a hard check on the applicant’s credit history and use the returned information in your credit decision engine. For this journey, the state is defined below.
Please note that signature, requestDecision and createCustomer steps happen sequentially.
createCustomer
Onboard the applicant as a customer and complete the credit acquisition process.
Please note that signature, requestDecision and createCustomer steps happen sequentially.
Application Success
The application was successful and the credit lender has onboarded the applicant as a customer.
Request Example
Request
HTML
1<iframe src="https://id.newdaytechnology.com/newpay/login?sessionId=f925a9d8-53b5-47bd-854e-a9f31e7aa299&redirect_uri="https://pay.deko.finance"></iframe>
Response Example
Response
JSON
1{
2 "hashedUserId": "n5XU5zccSSMVSDlqAiQEqWYgq4pVAzr6AkT9Je8rj7k=",
3 "identityToken": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijg2QjdERjk1Q0VBRDJBNzAyMzJBMjUxRTY4MjZGODJFREZCMEVGNzUiLCJ4NXQiOiJocmZmbGM2dEtuQWpLaVVlYUNiNEx0LXc3M1UiLCJ0eXAiOiJhdCtqd3QifQ.eyJpc3MiOiJodHRwczovL2lkcC1hMDYuc3RnLW5ld2RheXRlY2hub2xvZ3kubmV0IiwibmJmIjoxNzE4MzU3ODc4LCJpYXQiOjE3MTgzNTc4NzgsImV4cCI6MTcxODM1OTY3OCwiYXVkIjpbIlpOMVAyRTlWOENWS0c1M0Y5SU5DUUMyNzRHWU1ZMlo5LUFQSSIsImh0dHBzOi8vaWRwLWEwNi5zdGctbmV3ZGF5dGVjaG5vbG9neS5uZXQvcmVzb3VyY2VzIl0sInNjb3BlIjpbIm9wZW5pZCIsInNzbyIsIlpOMVAyRTlWOENWS0c1M0Y5SU5DUUMyNzRHWU1ZMlo5LVNDT1BFIiwib2ZmbGluZV9hY2Nlc3MiXSwiYW1yIjpbInBpbiJdLCJjbGllbnRfaWQiOiIyRjNEMzI3MkVBOEU0Q0Q5OTY2MzRFQjlGMkYxNEY5MiIsInN1YiI6Im41WFU1emNjU1NNVlNEbHFBaVFFcVdZZ3E0cFZBenI2QWtUOUplOHJqN2s9IiwiYXV0aF90aW1lIjoxNzE4MzU3ODc4LCJpZHAiOiJsb2NhbCIsImF1dGhfbGV2ZWwiOiJub25lIiwiZGF0YV9jb3JyZWxhdGlvbl9pZCI6InRlc3QifQ.wV9Inl4x3Y96qohkajl5IXgyeYY-R1ibG3oMpSQDNEl3nd9GCfI18y3Kw_GzmHzabiRsHTRJyDPKbUlnVqFgNBcnPmW4nlvvBkZ4BcYTts1h68Q5S2AzNFeopODKWVAtlSAmyDWzoE4xZctY3by3ToTaQrPu2_xa0Z3kOsRljRdZ3v1NJ0v_OTcYevMxrBUQmWUWBEp_Sd_Gd8yamPU1A6WpKXCfgjZ97KKmGIA87RKkFWsaQj2RzOdoksnhqk3vEGP-J1qHPKEQgpL3eG1CR59_cPtrihoGl0vH9Q-fyTJFOemtWVxP_UU2LUoU35cB4Os90APtiemQc1ZASKbFcw",
4 "expiresIn": 1800,
5 "tokenType": "Bearer",
6 "refreshToken": "059A03A97ACE893989DDE289790642D69C319075964F1CC35E5DB8A98107DBA5-1",
7 "correlationId": "f925a9d8-53b5-47bd-854e-a9f31e7aa299",
8 "success": true
9}