Documentation
Financial Services
Loans

Loans

Loans provides users with access to loans for purchasing farming inputs, expanding operations, or improving infrastructure.

1. Request a Farm Loan

Endpoint

POST /v1/financial-services/loans/request

Description

Submits a loan application for a farmer.

Request Body

FieldTypeDescription
userIdstringThe ID of the farmer applying for the loan.
loanAmountnumberThe amount of the loan requested.
loanPurposestringThe purpose of the loan (e.g., purchasing seeds, equipment).

Responses

StatusDescription
201 CreatedLoan application submitted successfully.
400 Bad RequestInvalid data in request.

Example Request

curl -X POST "https://api.growforme.com/v1/financial-services/loans/request" \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key" \
-d '{
  "userId": "farmer123",
  "loanAmount": 20000,
  "loanPurpose": "purchase equipment"
}