Credit SDK by Aarthik Labs

Credit Integrations

Choose the integration model that fits your product and engineering surface.

Two integration models

Aarthik Labs supports two ways to integrate borrower credit journeys. Choose the hosted experience when you want the fastest production path, or the API experience when you want to own the borrower UI and orchestration end-to-end.

Hosted Experience

  • Backend (server-only): call POST /api/lab/sessions with Authorization: Bearer sk_*, borrowerProviderID, and contactNumber (pan optional), then return embedUrl.
  • Frontend (client): render <iframe src={embedUrl}>.
  • Best for teams that want the platform to own the full borrower journey UI.

API Experience

  • Partner backend: call POST /api/v1/headless/sessions with Authorization: Bearer sk_* to bootstrap or resume borrower sessions.
  • App runtime: use the borrower session token to create journeys, submit profile data, list offers, proceed with an offer, and drive step APIs.
  • Eventing: consume journey.snapshot webhooks or poll GET /api/v1/headless/journeys/{journeyID}/state.
  • Best for teams that want full control over native app, web app, or middleware orchestration.

API Experience status

The API Experience documentation describes the headless integration contract and onboarding model for managed customer implementations.

Next steps

On this page