cURL
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 }
Registers a new borrower in the system.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Borrower created successfully.
Show child attributes
true