Lendbox
  • Home
  • Borrowers
    • Creating a Borrower
  • Loans
    • Creating/Disbursing a Loan
    • Loan Statement
    • Repayments
    • Loan Discounts
  • Borrower Website
  • Loan Products
  • Staff Members
  • Branches
  • API Integration
    • REST API
    • Webhooks
Powered by GitBook
On this page
  1. API Integration

REST API

PreviousAPI IntegrationNextWebhooks

Last updated 2 months ago

How to Use the Lendbox API

Using the Lendbox API requires following some basic steps:

  1. API Access & Key:

    • Register for an API key from your Lendbox account dashboard by navigating to the API Integrations page from the left navigation panel..

    • Keep your API key secure, as this will authenticate your requests.

  2. EndPoint Structure:

    • Familiarize yourself with the endpoint structure.

    • API URLs will typically follow this format:

      https://api.lendbox.io/[resource]
  3. API Documentation

    The full documentation of all the API endpoints can be found at the following .

  4. Making Requests:

    • Use standard HTTP methods (GET, POST, PATCH, PUT, DELETE) based on the action you intend to perform.

    • E.G., To create a new borrower:

      POST https://api.lendbox.io/borrowers
      Content-Type: application/json
      Authorization: Bearer your_api_key
      
      {
      "branchId": "branch-123",
      "firstName": "John",
      "lastName": "Doe",
      "gender": "male"
      }
  5. Handling Responses:

    • API responses will be returned in JSON format.

    • Error handling and data validation should be built into your application to gracefully handle responses.

Now you’re ready to start building by accessing our API documentation section below. Let our resources guide you through step-by-step integrations!

The full documentation of all the API endpoints can be found at the following .

link
link