Get Instalment Plans for Account
Obtain instalment plans for a single specified account. The response must be ordered by plan creationDate in descending order.
An instalment plan describes the terms of repayment for a specified loan amount such as a Buy Now, Pay Later (BNPL) purchase or a specific card transaction.
If isInstalmentDetailAvailable was specified as true for the provided accountId but no plans match the provided parameters, an empty array must be returned. If isInstalmentDetailAvailable was specified as false for the provided accountId, then the endpoint may respond with a 404 Resource Not Implemented error.
Authorizations
The Fiskil Data Provider will include a self-signed JWT as a Bearer token in the Authorization header.
You should verify this JWT using the JWKS URL you can find for your Data Provider instance in the Fiskil
Console. To verify the JWT you must:
- Verify the signature
- Ensure the token has not expired by checking the
expclaim - The
subandissclaims are your data provider subdomain - The
audclaim is the URI of the resource being requested (excluding any query parameters) - The
jtivalue is unique For further detail on security and authentication refer to our Authentication documentation
Path Parameters
Unique ID of a customer. This ID must not change for the lifecycle of the customer
ID of a specific account to obtain data for.
Query Parameters
Allows for the filtering of plans based on their schedule status:
ACTIVErequests plans where one or more scheduled instalments haveisPaidequal tofalse.INACTIVErequests plans where all scheduled instalments haveisPaidequal totrue.ALLrequests allACTIVEandINACTIVEplans.
ACTIVE, INACTIVE, ALL Page of results to request (standard pagination)
Page size to request. Default is 25 (standard pagination)
Response
List of instalment plans for the queried account
URL Query parameters to obtain different pages of the response. Fiskil will combine these with the rest of the request URL to build full link URLs in the final response.
{
"first": "page=1&page-size=25&oldest-date=2023-04-24",
"last": "page=4&page-size=25&oldest-date=2023-04-24",
"next": "page=3&page-size=25&oldest-date=2023-04-24",
"prev": "page=1&page-size=25&oldest-date=2023-04-24"
}{ "totalRecords": 150, "totalPages": 6 }