accountConsents
Account Consents List
get/consent/account
Request
- Base URL: https://api.sandbox.tryspare.ae
- URL: https://api.sandbox.tryspare.ae/consent/account
- Auth: HTTP bearer
Query parameters
pagenumber
1-based page number for paginated results. Defaults to the first page.
perPagenumber
Number of items to return per page. Defaults to the API's page size.
providerIdstring
Spare provider UUID to filter results by.
connectionIdstring
UUID of the account/consent connection to filter by.
customerIdstring
Headers
x-tenantstring required
Example:UAE
Regulatory jurisdiction the request routes to (e.g. UAE, KSA, MAIN). Match it to the market you're integrating.
Response
Success response
Example response
{
"data": [
{
"connection": {
"createdAt": "2025-01-01T00:00:00Z",
"provider": {
"country": {
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z"
}
},
"updatedAt": "2025-01-01T00:00:00Z"
},
"createdAt": "2025-01-01T00:00:00Z",
"expiryDate": "2025-01-01T00:00:00Z",
"statusHistory": [
{
"dateTime": "2025-01-01T00:00:00Z"
}
],
"transactionsFromDate": "2025-01-01T00:00:00Z",
"transactionsToDate": "2025-01-01T00:00:00Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.