curl --request GET \
--url https://sandbox.api.fin.com/v1/purposes \
--header 'Authorization: Bearer <token>'{
"data": {
"pagination": {
"current_page": 1,
"per_page": 10,
"total_page": 3,
"total": 30
},
"purposes": [
{
"id": 1,
"title": "Personal Savings"
}
]
}
}Retrieve a list of available account purposes
curl --request GET \
--url https://sandbox.api.fin.com/v1/purposes \
--header 'Authorization: Bearer <token>'{
"data": {
"pagination": {
"current_page": 1,
"per_page": 10,
"total_page": 3,
"total": 30
},
"purposes": [
{
"id": 1,
"title": "Personal Savings"
}
]
}
}Bearer token authentication. Obtain token from /v1/oauth/token endpoint
Number of items to return per page
1 <= x <= 512The page number to retrieve
x >= 1Filter account purposes by type
INDIVIDUAL, BUSINESS List of account purposes retrieved successfully
Show child attributes