accountConsents

Account Consents Create

post/consent/account

Request

  • Base URL: https://api.sandbox.tryspare.ae
  • URL: https://api.sandbox.tryspare.ae/consent/account
  • Auth: HTTP bearer

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.

Request body

connectionIdstring
providerIdstring required
purpose'AccountAggregation' | 'RiskAssessment' | 'TaxFiling' | 'Onboarding' | 'Verification' | 'QuoteComparison' | 'BudgetingAnalysis' | 'FinancialAdvice' | 'AuditReconciliation' required
requestIdstring required
userType'Retail' | 'Corporate' | 'SME' required

Response

Success response

Example response

{
  "data": {
    "createdAt": "2025-01-01T00:00:00Z",
    "expiryDate": "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.