post https://api.juspay.in/v3/loan/loanStatementRequest
This method is called be the LSP to get the account statement for the loan for a specified period. If the start and end dates are blank, it will return the entire Loan Statement
Response Parameters for the Loan Statement Request API: (click to view)
Parameter | Type | Description |
---|---|---|
ack:wwwwwwww {error, traceId, timestamp} | Object | JSON object for acknowlegement |
Parameters for the
ack
object: Parameter | Type | Description |
---|---|---|
error | String | Errors in the current request received. If no errors are found, error = 0. |
traceId | String | Identification for tracing |
timestamp | Time- stamp | YYYY-MM-DDThh:mm:ssZ+/-hh:mm (eg 1997-07-16T19:20:30+05:30) Z +/- hh:mm = time zone designator (Z) followed by time zone difference from GMT in hours and minutes. THIS IS OPTIONAL. If not provided, it is assumed to be IST (+5.30) |
The request for this API contains the parameters: requestId (UUID for the request) and loanId (UUID of loan for which a statement is being requested) (click to open tables)
Parameter | Type | Description | |
---|---|---|---|
metadata:wwwwwwtnww {param1, param2,...} | * | Object Strings | Metadata specific to each API request |
Parameters for the metadata
object: click to open)
Field | Type | Description | |
---|---|---|---|
version | String | OCEN Version | |
timestamp | Time- stamp | YYYY-MM-DDThh:mm:ssZ+/-hh:mm (eg 1997-07-16T19:20:30+05:30) Z +/- hh:mm = time zone designator (Z) followed by time zone difference from GMT in hours and minutes. THIS IS OPTIONAL. If not provided, it is assumed to be IST (+5.30) | |
traceId | String | Identification for tracing | |
orgId | String | Origin ID |
requestId wwwwwwwnwwwwwww | * | String | Unique reference ID for the Loan Statement Request (UUID used to tie request and response and for idempotency) |
loanId: | * | String | Unique reference ID (UUID) of the loan for which a statement is being requested (generated by lender) |
startDate | String | Start date/time (ISO representation) from which statement is requested | |
endDate | String | End date/time (ISO representation) till which the statement is requested |
* = Required