Skip to content
APIFLY
en lv

For developers

A clear API. Predictable behaviour.

A JSON REST API with an OpenAPI specification. One request to submit an application, one webhook format to receive every status.

  • Idempotent requests — a retried application is never sent to lenders twice
  • One status and offer format for every lender
  • A webhook notification for every status change
  • A personal API key per client, stored only as a hash
  • Separate test and production environments
Request 202 Accepted
POST /api/submissions
Authorization: Bearer ••••••••••••

{
  "client_submission_id": "app-10482",
  "lender_codes": ["lender-a", "lender-b", "lender-c"],
  "applicant": {
    "first_name": "Anna",
    "last_name": "Kalniņa",
    "email": "anna@example.com",
    "phone": "+37120000000"
  },
  "application": {
    "amount": 3000,
    "term_months": 24
  }
}
Webhook to your system
{
  "event_id": "evt_8f2c41",
  "event_type": "submission.lender_status_updated",
  "client_submission_id": "app-10482",
  "lender_code": "lender-b",
  "normalized_status": "approved",
  "offer": {
    "amount": 3000,
    "term_months": 24,
    "monthly_payment": 142.5,
    "apr": 18.9
  }
}

Getting started

From the first call to production

Four clear stages. Each one shows what you do and what we do.

01 Introduction

Your team

Tell us which lenders you work with or want to work with, and what your application flow looks like.

Apifly

We assess the integrations you need and agree on the terms of cooperation.

02 Test environment

Your team

Generate an API key in the client portal and set your webhook URL.

Apifly

We open access to the test environment and prepare test credentials for the lenders.

03 Integration

Your team

Connect the one API following the OpenAPI specification and handle the webhook notifications.

Apifly

We help with test applications and verify the whole status flow together with you.

04 Production

Your team

Switch to your production key and start sending real applications.

Apifly

We enable the lenders in production and monitor the first flows.

Let's talk about your integrations

Tell us which lenders or platforms you work with, and we will show you how to connect them through a single API.