accountConsents

Account Consents Get

get/consent/account/{consentId}

Request

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

Path parameters

consentIdstring required

UUID of the consent (returned when the consent was created).

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.