Download OpenAPI specification:Download
Welcome to the KisanHub private API docs. If you're looking for the public APIs then head on over to our main API docs
Store a file in a secure bucket. Only the user themselves or an Enterprise user with SITE_ADMIN permission can create or update file attachments for a user.
id required | integer >= 1 ID |
file | string <binary> |
OK
Bad request
Unauthorized
UK server
India server
{- "id": 0
}
Return the "Know Your Customer" documentation for a given user. Only the user themselves or an Enterprise user with SITE_ADMIN permission can retrieve KYC documents for a user.
id required | integer >= 1 ID |
OK
Unauthorized
UK server
India server
[- {
- "document_type_name": "Aaadhaar",
- "value": "string",
- "attachments": [
- 0
]
}
]
Add a new KYC document for the given user. An existing document of the same name is replaced. Only the user themselves or an Enterprise user with SITE_ADMIN permission can update KYC documents for a user.
id required | integer >= 1 ID |
document_type_name | string Enum: "Aadhaar" "PAN" "PlotDoc" "UserPhoto" "UserConsent" Document type name |
value | string Document value |
attachments | Array of integers Array of ids returned from API(/api/user/{id}/file)for uploaded images |
OK
Bad request
Unauthorized
Entity not found
UK server
India server
{- "document_type_name": "Aaadhaar",
- "value": "string",
- "attachments": [
- 0
]
}
{- "document_type_name": "Aaadhaar",
- "value": "string",
- "attachments": [
- 0
]
}
Return the bank details for the given user. Only the user themselves or an Enterprise user with SITE_ADMIN permission can retrieve a users bank details.
id required | integer >= 1 ID |
User bank details
Bad request
Unauthorized
Entity not found
UK server
India server
[- {
- "bank_code": "string",
- "account_number": "string",
- "attachments": [
- 0
]
}
]
Update the bank details for the given user. Only the user themselves or an Enterprise user with SITE_ADMIN permission can update KYC documents for a user.
id required | integer >= 1 ID |
bank_code | string Bank code e.g sort code |
account_number | string Bank account number |
attachments | Array of integers Array of ids returned from API(/api/user/{id}/file)for uploaded images |
OK
Bad request
Unauthorized
Entity not found
UK server
India server
{- "bank_code": "string",
- "account_number": "string",
- "attachments": [
- 0
]
}
{- "bank_code": "string",
- "account_number": "string",
- "attachments": [
- 0
]
}