TECHNOLOGY DecideAPIGuide 220322 1027

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Decide API Guide

This document will provide instructions on how to quickly integrate the Decide API Service into various solutions. This documentation is intended
for developers who want to write applications that can interact with Decide API.

This service is based on REST standards. Clients can use any programming language to interact with the API.

Authorization

Some API calls do not require authorization; however, several API calls require authorization either as the customer (applying for the loan) or the
merchant (loan provider)

An authentication key is a short-lived, lightweight, reusable value that can authorize your requests. To authorize using a key, pass it in the Autho
rization header:

Authorization: Bearer YOUR_ACCESS_KEY

Generating an Access Key

A client access key can be obtained via the API

The Content-Type Header

The content-type header MUST be application/JSON.

Content-Type: application/json

Endpoint

POST https://api.indicina.co/api/v2/client/api/login

Request

{
"client_id": "<your client-id>",
"client_secret": "<your client-secret>"
}

Response

{
"status": "success",
"data": {
"token": "<valid access token>"
}
}

You might also like