Skip to main content
POST
/
borrowers
Create a new borrower
curl --request POST \
  --url https://lms.tausi.africa/v1/borrowers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "business_name": "<string>",
  "phone": "<string>",
  "address": "<string>",
  "type": "<string>",
  "region": "<string>",
  "country": "<string>",
  "email": "[email protected]"
}
'
{
  "item": {
    "id": 123,
    "business_name": "<string>",
    "phone": "<string>",
    "address": "<string>",
    "type": "<string>",
    "region": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "country": "<string>",
    "email": "[email protected]",
    "credit_score": 123
  },
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
integer<int64>
required
business_name
string
required
phone
string
required
address
string
required
type
string
required
region
string
required
country
string
email
string<email>

Response

Borrower created successfully.

item
object
required
success
boolean
required
Example:

true