EndpointPaths

Contains endpoint path constants used in API requests.

Properties

Link copied to clipboard

The path parameter for the account holder ID.

Link copied to clipboard

The path parameter for the account holder type.

Link copied to clipboard
const val API_VERSION: String

The path parameter for the API version.

Link copied to clipboard
const val CURRENCY: String

The path parameter for the currency.

Link copied to clipboard
const val OAUTH2: String

The literal path segment that identifies OAuth2 (consent) endpoints, e.g. /{productType}/oauth2/{apiVersion}/userinfo. OAuth2 resource endpoints (those that contain OAUTH2 but not TOKEN) must be authenticated with the OAuth2 consent access token rather than the regular API-user Bearer token.

Link copied to clipboard
const val PRODUCT_TYPE: String

The path parameter for the product type.

Link copied to clipboard
const val REFERENCE_ID: String

The path parameter for the reference ID.

Link copied to clipboard
const val TOKEN: String

The literal path segment that identifies token-issuance endpoints, e.g. /{productType}/oauth2/token/ and /{productType}/token/. The OAuth2 token endpoint mints the consent token and must therefore be authenticated with the regular API-user Bearer token, not the (not-yet-issued) consent token — so it is excluded from OAuth2 consent-token routing even though its path contains OAUTH2.

Link copied to clipboard

The path parameter for the API user ID (the {apiUser} path segment).