Skip to main content
← HaaS Developer Resources

Consent API (HaaS)

Earlier versions

The Consent API pre-release versions 0.0.1-alpha.17 and 0.0.1-alpha.18 are no longer published. This reference is version 1.0.0, the current version. See FDO 26Q417.

Consent API (1.0.0)

Download OpenAPI specification:Download

Biza.io: hello@biza.io URL: https://biza.io/ License: Commercial

Programmatic access to a Data Holder's consent store: Grants, their history, and the account, notification, secondary-user and multi-party-sharing resources around them. See the guide linked below for how each operation behaves.

Grants

Listing, retrieving and revoking the Grants visible to a named User or Principal.

List User Grants

List the Grants visible to a named User, including those created by related parties such as joint account holders.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

query Parameters
principalId
string
Example: principalId=08c31a2a9016d6c517a95562228a37c0

Narrow the visible Grants to those held against this Principal in addition to the path parameters specified.

status
Array of strings (EnumGrantStatusV1)
Items Enum: "ACTIVE" "EXPIRED" "REVOKED"
Example: status=ACTIVE

Restrict results to Grants with the input status.

Supports multiple types using exploded form style.

If not present will return Grants in all statuses.

page
integer <int32> >= 1
Default: 1
Example: page=1

Page of results to request, 1-based.

page-size
integer <int32> [ 1 .. 1000 ]
Default: 25
Example: page-size=25

Number of records to return per page.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": [
    ],
  • "meta": {
    },
}

Get User Grant

Retrieve one Grant as a named User sees it.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

grantId
required
string <uuid>
Example: dd488573-510f-42c1-82b7-e6ecaa735545

The identifier of the grant. Unique within the realm, so a Grant is addressable without naming its User or Principal.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Revoke User Grant

Revoke a Grant as the User who created it, so tokens issued against it are no longer honoured.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

grantId
required
string <uuid>
Example: dd488573-510f-42c1-82b7-e6ecaa735545

The identifier of the grant. Unique within the realm, so a Grant is addressable without naming its User or Principal.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Get User Grant History

Retrieve the lifecycle history of one Grant as a named User sees it.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

grantId
required
string <uuid>
Example: dd488573-510f-42c1-82b7-e6ecaa735545

The identifier of the grant. Unique within the realm, so a Grant is addressable without naming its User or Principal.

query Parameters
page
integer <int32> >= 1
Default: 1
Example: page=1

Page of results to request, 1-based.

page-size
integer <int32> [ 1 .. 1000 ]
Default: 25
Example: page-size=25

Number of records to return per page.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{}

List Principal Grants

List the Grants held against a named Principal, across every User attached to it.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

query Parameters
status
Array of strings (EnumGrantStatusV1)
Items Enum: "ACTIVE" "EXPIRED" "REVOKED"
Example: status=ACTIVE

Restrict results to Grants with the input status.

Supports multiple types using exploded form style.

If not present will return Grants in all statuses.

page
integer <int32> >= 1
Default: 1
Example: page=1

Page of results to request, 1-based.

page-size
integer <int32> [ 1 .. 1000 ]
Default: 25
Example: page-size=25

Number of records to return per page.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": [
    ],
  • "meta": {
    },
}

Get Principal Grant

Retrieve one Grant held against a named Principal.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

grantId
required
string <uuid>
Example: dd488573-510f-42c1-82b7-e6ecaa735545

The identifier of the grant. Unique within the realm, so a Grant is addressable without naming its User or Principal.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Get Principal Grant History

Retrieve the lifecycle history of one Grant held against a named Principal.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

grantId
required
string <uuid>
Example: dd488573-510f-42c1-82b7-e6ecaa735545

The identifier of the grant. Unique within the realm, so a Grant is addressable without naming its User or Principal.

query Parameters
page
integer <int32> >= 1
Default: 1
Example: page=1

Page of results to request, 1-based.

page-size
integer <int32> [ 1 .. 1000 ]
Default: 25
Example: page-size=25

Number of records to return per page.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{}

Withdraw Joint Account Sharing Approval For Grant

Withdraw an account you own from a Grant another joint account owner created.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

grantId
required
string <uuid>
Example: dd488573-510f-42c1-82b7-e6ecaa735545

The identifier of the grant. Unique within the realm, so a Grant is addressable without naming its User or Principal.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Accounts

Reading the accounts visible to a named User or Principal, including account details scoped to a single Grant.

List User Principal Accounts

List the accounts the asserted User sees under a named Principal.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": [
    ]
}

Get User Principal Account

Retrieve one account the asserted User sees under a named Principal.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Get Principal Grant Account Details

Retrieve details for the accounts shared under one Grant, in the Principal context.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

grantId
required
string <uuid>
Example: dd488573-510f-42c1-82b7-e6ecaa735545

The identifier of the grant. Unique within the realm, so a Grant is addressable without naming its User or Principal.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": [
    ]
}

Get User Grant Account Details

Retrieve details for the accounts shared under one Grant, in the User context.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

grantId
required
string <uuid>
Example: dd488573-510f-42c1-82b7-e6ecaa735545

The identifier of the grant. Unique within the realm, so a Grant is addressable without naming its User or Principal.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": [
    ]
}

Notifications

Reading and updating a User's notification preferences for one account.

Get User Account Notification Preferences

Retrieve the asserted User's notification preferences for one account.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Update User Account Notification Preferences

Replace the asserted User's notification preferences for one account.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Request Body schema: application/json
required
required
object (NotificationFrequencyV1)

How often a notification is sent for this event.

required
object (NotificationFrequencyV1)

How often a notification is sent for this event.

required
object (NotificationFrequencyV1)

How often a notification is sent for this event.

dataSharingNotApproved
required
boolean

Notify when a proposed data sharing change is not approved.

Responses

Request samples

Content type
application/json
{
  • "dataSharingStarted": {
    },
  • "dataSharingStopped": {
    },
  • "secondaryUsers": {
    },
  • "dataSharingNotApproved": true
}

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Secondary Users

Reading and updating the secondary users an account owner has authorised.

List Secondary Users

List the secondary users authorised on one account, as an asserted owner of it.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": [
    ]
}

Update Secondary User

Enable or disable one secondary user's access to an account, as an asserted owner of it.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

secondaryUserUserId
required
string
Example: 3f6e9a2c7d8b4512a0f6e9c2d7b48a01

The User Identifier of the secondary user whose sharing status on this account is being addressed. Distinct from the userId path segment naming the caller's own asserted identity.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Request Body schema: application/json
required
status
required
string (EnumSecondaryUserSharingStatusV1)
Enum: "ENABLED" "DISABLED"

Whether a secondary user's access to the account is enabled.

Responses

Request samples

Content type
application/json
{
  • "status": "ENABLED"
}

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

DOMS

Proposing, reading and resolving Disclosure Option Management Service requests on a joint account.

List User Principal Account DOMS Requests

List the Disclosure Option Management Service (DOMS) requests on one account, in the asserted User's context.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": [
    ]
}

Create User Principal Account DOMS Request

Propose a multi-party sharing election on one account, as an asserted owner of it.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Request Body schema: application/json
required
action
required
string (EnumDomsActionV1)
Enum: "NON_DISCLOSURE" "PRE_APPROVAL"

The multi-party sharing election being proposed for the account.

Responses

Request samples

Content type
application/json
{
  • "action": "PRE_APPROVAL"
}

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Get User Principal Account DOMS Request

Retrieve one DOMS request on an account, in the asserted User's context.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

requestId
required
string <uuid>
Example: f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50

The identifier of a Disclosure Option Management Service (DOMS) request. Unique within the realm.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Handle User Principal Account DOMS Request

Approve or deny a pending DOMS request, as an asserted owner of the account.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

principalId
required
string
Example: 08c31a2a9016d6c517a95562228a37c0

The Principal Identifier for a Principal. This is a globally unique and stable identifier for the Principal.

accountId
required
string
Example: 0b6d9c6e9d4a4e23a3b0a5d6c7e8f901

Account Identifier used by the Data Adapter and reflected unmodified within responses. This identifier is not pairwised, as this is an internal API, not an externally facing one.

requestId
required
string <uuid>
Example: f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50

The identifier of a Disclosure Option Management Service (DOMS) request. Unique within the realm.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Request Body schema: application/json
required
action
required
string (EnumDomsHandleDecisionV1)
Enum: "APPROVED" "DENIED"

An owner's response to a pending DOMS request.

Responses

Request samples

Content type
application/json
{
  • "action": "APPROVED"
}

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

Profiles

Discovering the profiles a User can act as, and each one's vulnerability status.

Lookup User Profiles

List the Principals the asserted User can act as, with each one's vulnerability status.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

userId
required
string
Example: 7c4a8d09ca3762af61e59520943dc264

The User Identifier for the User. This is a globally unique and stable identifier for the User.

header Parameters
x-haas-v
required
string
Example: V1

The response version requested for this operation. The version actually served is returned in the x-haas-v response header and in the payload's version property.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": [
    ]
}

Discovery

What this deployment supports.

Get Endpoint Meta

Report the request and response versions this deployment serves for each operation.

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

header Parameters
x-haas-max-v
required
string
Example: V1

The highest response version your client understands. This is a ceiling, not an exact match and is a bound rather than a single value. This deployment serves the highest version it supports that is at or below the ceiling provided, and never a version above it. If it supports no version at or below the provided ceiling the response is 406 Header/UnsupportedVersion.

x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Responses

Response samples

Content type
application/json
{
  • "version": "V1",
  • "data": {
    }
}

App-to-App

Exchanging a holder's own session token for a request_uri-bound act_token, for the app2app consent-flow handoff (RFC 8693).

Exchange Token

Exchange a holder session token for a request_uri-bound, single-use act_token (RFC 8693).

Authorizations:
ConsentApiOAuth
path Parameters
realmName
required
string
Example: sandbox-holder

Realm name to bound the request to. A client is entitled to the realms of the space its token was issued for.

header Parameters
x-fapi-interaction-id
string <uuid>
Example: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

Caller-supplied correlation identifier, echoed on the response and recorded for the interaction.

Request Body schema: application/x-www-form-urlencoded
required
grant_type
required
string
Value: "urn:ietf:params:oauth:grant-type:token-exchange"

Fixed. The only grant type this operation understands.

subject_token
required
string

The holder's own, already-issued session token for the customer β€” never minted fresh for this call. A JWT carrying biza-au:auth:user_id (required) and biza-au:auth:principal_id (optional) as top-level claims. Verified β€” signature, iss, aud and temporal checks, all fail-closed β€” before any claim is trusted.

subject_token_type
required
string
Enum: "urn:ietf:params:oauth:token-type:id_token" "urn:ietf:params:oauth:token-type:jwt"

Declares what the holder calls its own token. Informational only β€” both values are validated identically, through the same signature/iss/aud/temporal procedure.

resource
required
string

Exactly one occurrence, required. The triggering request_uri verbatim β€” RequestUtil.parRealmURI's existing urn:<realmName>:<parId> format. Becomes the issued act_token's aud claim.

audience
string

Accepted for RFC 8693 client-library compatibility. Not honoured.

scope
string

Accepted for RFC 8693 client-library compatibility. Not honoured.

requested_token_type
string
Value: "urn:ietf:params:oauth:token-type:access_token"

Optional. If sent, must equal urn:ietf:params:oauth:token-type:access_token or the request is invalid_request β€” this operation never issues any other token type.

actor_token
string

Accepted for RFC 8693 client-library compatibility. Not honoured.

actor_token_type
string

Accepted for RFC 8693 client-library compatibility. Not honoured.

Responses

Response samples

Content type
application/json
{
  • "access_token": "eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJ1cm46ZXhhbXBsZS1yZWFsbTouLi4ifQ.signature",
  • "issued_token_type": "urn:ietf:params:oauth:token-type:access_token",
  • "token_type": "Bearer",
  • "expires_in": 300
}