Consent API (HaaS)
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
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.
List User Grants
List the Grants visible to a named User, including those created by related parties such as joint account holders.
Authorizations:
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 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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "grantId": "dd488573-510f-42c1-82b7-e6ecaa735545",
- "grantType": "CDR_SHARING_ARRANGEMENT_V1",
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "principalId": "08c31a2a9016d6c517a95562228a37c0",
- "status": "ACTIVE",
- "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2022-01-01T12:30:00Z",
- "latestTokenTime": "2021-06-01T09:00:00Z",
- "scopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account numbers and features"
}
}, - "dataClusters": [
- {
- "name": "Account balance and details",
- "permissionLanguage": {
- "0": "Name of account;",
- "1": "Type of account;",
- "2": "Account balance;",
- "3": "Account number;",
- "4": "Interest rates;",
- "5": "Fees;",
- "6": "Discounts;",
- "7": "Account terms;",
- "8": "Account mail address;"
}, - "includedScopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account balance and details"
}
}
}
], - "accounts": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901"
}
], - "accountsWithheld": true,
- "participant": {
- "participantId": "4c90de1f-5cea-4b87-8269-5235f34c4ce1",
- "participantType": "CDR_SOFTWARE_PRODUCT_V1",
- "softwareProductId": "4f012edd-05e9-4129-8682-ede321fd46eb",
- "name": "Hardship Hub Casebook",
- "description": "Case management for financial counsellors: lists every creditor from a client's consented bank, energy and loan data, drafts hardship requests, tracks creditor replies against deadlines, and gives the client a plain-language read-only copy.",
- "status": "ACTIVE",
- "brandName": "Hardship Hub",
- "brandStatus": "ACTIVE",
- "legalEntityName": "Hardship Hub Pty Ltd",
- "accreditationNumber": "BNK00000013",
- "accreditationLevel": "UNRESTRICTED"
}
}
], - "meta": {
- "page": 1,
- "pageSize": 25,
- "totalPages": 2,
- "totalRecords": 40
}, - "links": {
}
}Get User Grant
Retrieve one Grant as a named User sees it.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "grantId": "dd488573-510f-42c1-82b7-e6ecaa735545",
- "grantType": "CDR_SHARING_ARRANGEMENT_V1",
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "principalId": "08c31a2a9016d6c517a95562228a37c0",
- "status": "ACTIVE",
- "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2022-01-01T12:30:00Z",
- "latestTokenTime": "2021-06-01T09:00:00Z",
- "scopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account numbers and features"
}
}, - "dataClusters": [
- {
- "name": "Account balance and details",
- "permissionLanguage": {
- "0": "Name of account;",
- "1": "Type of account;",
- "2": "Account balance;",
- "3": "Account number;",
- "4": "Interest rates;",
- "5": "Fees;",
- "6": "Discounts;",
- "7": "Account terms;",
- "8": "Account mail address;"
}, - "includedScopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account balance and details"
}
}
}
], - "accounts": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901"
}
], - "accountsWithheld": true,
- "participant": {
- "participantId": "4c90de1f-5cea-4b87-8269-5235f34c4ce1",
- "participantType": "CDR_SOFTWARE_PRODUCT_V1",
- "softwareProductId": "4f012edd-05e9-4129-8682-ede321fd46eb",
- "name": "Hardship Hub Casebook",
- "description": "Case management for financial counsellors: lists every creditor from a client's consented bank, energy and loan data, drafts hardship requests, tracks creditor replies against deadlines, and gives the client a plain-language read-only copy.",
- "status": "ACTIVE",
- "brandName": "Hardship Hub",
- "brandStatus": "ACTIVE",
- "legalEntityName": "Hardship Hub Pty Ltd",
- "accreditationNumber": "BNK00000013",
- "accreditationLevel": "UNRESTRICTED"
}
}
}Revoke User Grant
Revoke a Grant as the User who created it, so tokens issued against it are no longer honoured.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "grantId": "dd488573-510f-42c1-82b7-e6ecaa735545",
- "grantType": "CDR_SHARING_ARRANGEMENT_V1",
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "principalId": "08c31a2a9016d6c517a95562228a37c0",
- "status": "ACTIVE",
- "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2022-01-01T12:30:00Z",
- "latestTokenTime": "2021-06-01T09:00:00Z",
- "scopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account numbers and features"
}
}, - "dataClusters": [
- {
- "name": "Account balance and details",
- "permissionLanguage": {
- "0": "Name of account;",
- "1": "Type of account;",
- "2": "Account balance;",
- "3": "Account number;",
- "4": "Interest rates;",
- "5": "Fees;",
- "6": "Discounts;",
- "7": "Account terms;",
- "8": "Account mail address;"
}, - "includedScopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account balance and details"
}
}
}
], - "accounts": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901"
}
], - "accountsWithheld": true,
- "participant": {
- "participantId": "4c90de1f-5cea-4b87-8269-5235f34c4ce1",
- "participantType": "CDR_SOFTWARE_PRODUCT_V1",
- "softwareProductId": "4f012edd-05e9-4129-8682-ede321fd46eb",
- "name": "Hardship Hub Casebook",
- "description": "Case management for financial counsellors: lists every creditor from a client's consented bank, energy and loan data, drafts hardship requests, tracks creditor replies against deadlines, and gives the client a plain-language read-only copy.",
- "status": "ACTIVE",
- "brandName": "Hardship Hub",
- "brandStatus": "ACTIVE",
- "legalEntityName": "Hardship Hub Pty Ltd",
- "accreditationNumber": "BNK00000013",
- "accreditationLevel": "UNRESTRICTED"
}
}
}Get User Grant History
Retrieve the lifecycle history of one Grant as a named User sees it.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "grantHistoryId": "9824d737-5787-4ab1-97bd-0a81fa2f20c2",
- "occurrenceTime": "2021-01-01T12:30:00Z",
- "grantEventType": "CDR_SHARING_ARRANGEMENT_V1_AMENDED",
- "accountsWithheld": true
}
], - "meta": {
- "page": 1,
- "pageSize": 25,
- "totalPages": 2,
- "totalRecords": 40
}, - "links": {
}
}List Principal Grants
List the Grants held against a named Principal, across every User attached to it.
Authorizations:
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 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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "grantId": "dd488573-510f-42c1-82b7-e6ecaa735545",
- "grantType": "CDR_SHARING_ARRANGEMENT_V1",
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "principalId": "08c31a2a9016d6c517a95562228a37c0",
- "status": "ACTIVE",
- "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2022-01-01T12:30:00Z",
- "latestTokenTime": "2021-06-01T09:00:00Z",
- "scopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account numbers and features"
}
}, - "dataClusters": [
- {
- "name": "Account balance and details",
- "permissionLanguage": {
- "0": "Name of account;",
- "1": "Type of account;",
- "2": "Account balance;",
- "3": "Account number;",
- "4": "Interest rates;",
- "5": "Fees;",
- "6": "Discounts;",
- "7": "Account terms;",
- "8": "Account mail address;"
}, - "includedScopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account balance and details"
}
}
}
], - "accounts": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901"
}
], - "accountsWithheld": true,
- "participant": {
- "participantId": "4c90de1f-5cea-4b87-8269-5235f34c4ce1",
- "participantType": "CDR_SOFTWARE_PRODUCT_V1",
- "softwareProductId": "4f012edd-05e9-4129-8682-ede321fd46eb",
- "name": "Hardship Hub Casebook",
- "description": "Case management for financial counsellors: lists every creditor from a client's consented bank, energy and loan data, drafts hardship requests, tracks creditor replies against deadlines, and gives the client a plain-language read-only copy.",
- "status": "ACTIVE",
- "brandName": "Hardship Hub",
- "brandStatus": "ACTIVE",
- "legalEntityName": "Hardship Hub Pty Ltd",
- "accreditationNumber": "BNK00000013",
- "accreditationLevel": "UNRESTRICTED"
}
}
], - "meta": {
- "page": 1,
- "pageSize": 25,
- "totalPages": 2,
- "totalRecords": 40
}, - "links": {
}
}Get Principal Grant
Retrieve one Grant held against a named Principal.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "grantId": "dd488573-510f-42c1-82b7-e6ecaa735545",
- "grantType": "CDR_SHARING_ARRANGEMENT_V1",
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "principalId": "08c31a2a9016d6c517a95562228a37c0",
- "status": "ACTIVE",
- "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2022-01-01T12:30:00Z",
- "latestTokenTime": "2021-06-01T09:00:00Z",
- "scopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account numbers and features"
}
}, - "dataClusters": [
- {
- "name": "Account balance and details",
- "permissionLanguage": {
- "0": "Name of account;",
- "1": "Type of account;",
- "2": "Account balance;",
- "3": "Account number;",
- "4": "Interest rates;",
- "5": "Fees;",
- "6": "Discounts;",
- "7": "Account terms;",
- "8": "Account mail address;"
}, - "includedScopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account balance and details"
}
}
}
], - "accounts": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901"
}
], - "accountsWithheld": true,
- "participant": {
- "participantId": "4c90de1f-5cea-4b87-8269-5235f34c4ce1",
- "participantType": "CDR_SOFTWARE_PRODUCT_V1",
- "softwareProductId": "4f012edd-05e9-4129-8682-ede321fd46eb",
- "name": "Hardship Hub Casebook",
- "description": "Case management for financial counsellors: lists every creditor from a client's consented bank, energy and loan data, drafts hardship requests, tracks creditor replies against deadlines, and gives the client a plain-language read-only copy.",
- "status": "ACTIVE",
- "brandName": "Hardship Hub",
- "brandStatus": "ACTIVE",
- "legalEntityName": "Hardship Hub Pty Ltd",
- "accreditationNumber": "BNK00000013",
- "accreditationLevel": "UNRESTRICTED"
}
}
}Get Principal Grant History
Retrieve the lifecycle history of one Grant held against a named Principal.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "grantHistoryId": "9824d737-5787-4ab1-97bd-0a81fa2f20c2",
- "occurrenceTime": "2021-01-01T12:30:00Z",
- "grantEventType": "CDR_SHARING_ARRANGEMENT_V1_AMENDED",
- "accountsWithheld": true
}
], - "meta": {
- "page": 1,
- "pageSize": 25,
- "totalPages": 2,
- "totalRecords": 40
}, - "links": {
}
}Withdraw Joint Account Sharing Approval For Grant
Withdraw an account you own from a Grant another joint account owner created.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "grantId": "dd488573-510f-42c1-82b7-e6ecaa735545",
- "grantType": "CDR_SHARING_ARRANGEMENT_V1",
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "principalId": "08c31a2a9016d6c517a95562228a37c0",
- "status": "ACTIVE",
- "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2022-01-01T12:30:00Z",
- "latestTokenTime": "2021-06-01T09:00:00Z",
- "scopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account numbers and features"
}
}, - "dataClusters": [
- {
- "name": "Account balance and details",
- "permissionLanguage": {
- "0": "Name of account;",
- "1": "Type of account;",
- "2": "Account balance;",
- "3": "Account number;",
- "4": "Interest rates;",
- "5": "Fees;",
- "6": "Discounts;",
- "7": "Account terms;",
- "8": "Account mail address;"
}, - "includedScopes": {
- "0": {
- "name": "bank:accounts.basic:read",
- "description": "Account name, type and balance"
}, - "1": {
- "name": "bank:accounts.detail:read",
- "description": "Account balance and details"
}
}
}
], - "accounts": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901"
}
], - "accountsWithheld": true,
- "participant": {
- "participantId": "4c90de1f-5cea-4b87-8269-5235f34c4ce1",
- "participantType": "CDR_SOFTWARE_PRODUCT_V1",
- "softwareProductId": "4f012edd-05e9-4129-8682-ede321fd46eb",
- "name": "Hardship Hub Casebook",
- "description": "Case management for financial counsellors: lists every creditor from a client's consented bank, energy and loan data, drafts hardship requests, tracks creditor replies against deadlines, and gives the client a plain-language read-only copy.",
- "status": "ACTIVE",
- "brandName": "Hardship Hub",
- "brandStatus": "ACTIVE",
- "legalEntityName": "Hardship Hub Pty Ltd",
- "accreditationNumber": "BNK00000013",
- "accreditationLevel": "UNRESTRICTED"
}
}
}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:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901",
- "vulnerable": false,
- "ownerCount": 1,
- "jointAccount": {
- "sharingStatus": "PRE_APPROVAL",
- "sharingStatusLastUpdated": "2021-01-01T12:30:00Z",
- "latestDomsRequest": {
- "requestId": "f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50",
- "status": "PENDING",
- "targetSharingStatus": "PRE_APPROVAL",
- "expiryTime": "2021-01-15T12:30:00Z"
}
}, - "pendingDomsRequestCount": 0,
- "secondaryUserCount": 0
}
]
}Get User Principal Account
Retrieve one account the asserted User sees under a named Principal.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901",
- "vulnerable": false,
- "ownerCount": 1,
- "jointAccount": {
- "sharingStatus": "PRE_APPROVAL",
- "sharingStatusLastUpdated": "2021-01-01T12:30:00Z",
- "latestDomsRequest": {
- "requestId": "f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50",
- "status": "PENDING",
- "targetSharingStatus": "PRE_APPROVAL",
- "expiryTime": "2021-01-15T12:30:00Z"
}
}, - "pendingDomsRequestCount": 0,
- "secondaryUserCount": 0
}
}Get Principal Grant Account Details
Retrieve details for the accounts shared under one Grant, in the Principal context.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901",
- "vulnerable": false,
- "ownerCount": 1,
- "jointAccount": {
- "sharingStatus": "PRE_APPROVAL",
- "sharingStatusLastUpdated": "2021-01-01T12:30:00Z",
- "latestDomsRequest": {
- "requestId": "f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50",
- "status": "PENDING",
- "targetSharingStatus": "PRE_APPROVAL",
- "expiryTime": "2021-01-15T12:30:00Z"
}
}, - "pendingDomsRequestCount": 0,
- "secondaryUserCount": 0
}
]
}Get User Grant Account Details
Retrieve details for the accounts shared under one Grant, in the User context.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901",
- "vulnerable": false,
- "ownerCount": 1,
- "jointAccount": {
- "sharingStatus": "PRE_APPROVAL",
- "sharingStatusLastUpdated": "2021-01-01T12:30:00Z",
- "latestDomsRequest": {
- "requestId": "f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50",
- "status": "PENDING",
- "targetSharingStatus": "PRE_APPROVAL",
- "expiryTime": "2021-01-15T12:30:00Z"
}
}, - "pendingDomsRequestCount": 0,
- "secondaryUserCount": 0
}
]
}Get User Account Notification Preferences
Retrieve the asserted User's notification preferences for one account.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "dataSharingStarted": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "dataSharingStopped": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "secondaryUsers": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "dataSharingNotApproved": true
}
}Update User Account Notification Preferences
Replace the asserted User's notification preferences for one account.
Authorizations:
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-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/jsonrequired
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
- Payload
{- "dataSharingStarted": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "dataSharingStopped": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "secondaryUsers": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "dataSharingNotApproved": true
}Response samples
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "dataSharingStarted": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "dataSharingStopped": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "secondaryUsers": {
- "event": true,
- "weekly": false,
- "monthly": false
}, - "dataSharingNotApproved": true
}
}List Secondary Users
List the secondary users authorised on one account, as an asserted owner of it.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "secondaryUserUserId": "3f6e9a2c7d8b4512a0f6e9c2d7b48a01",
- "secondaryUserSharingStatus": "ENABLED",
- "assignedTo": "7c4a8d09ca3762af61e59520943dc264"
}
]
}Update Secondary User
Enable or disable one secondary user's access to an account, as an asserted owner of it.
Authorizations:
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 |
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-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/jsonrequired
| status required | string (EnumSecondaryUserSharingStatusV1) Enum: "ENABLED" "DISABLED" Whether a secondary user's access to the account is enabled. |
Responses
Request samples
- Payload
{- "status": "ENABLED"
}Response samples
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "secondaryUserUserId": "3f6e9a2c7d8b4512a0f6e9c2d7b48a01",
- "secondaryUserSharingStatus": "ENABLED",
- "assignedTo": "7c4a8d09ca3762af61e59520943dc264"
}
}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:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "requestId": "f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50",
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901",
- "createdBy": "7c4a8d09ca3762af61e59520943dc264",
- "targetSharingStatus": "PRE_APPROVAL",
- "status": "PENDING",
- "responses": [
- {
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "response": "PENDING",
- "respondedAt": "2021-01-05T09:15:00Z"
}
], - "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2021-01-15T12:30:00Z"
}
]
}Create User Principal Account DOMS Request
Propose a multi-party sharing election on one account, as an asserted owner of it.
Authorizations:
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-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/jsonrequired
| action required | string (EnumDomsActionV1) Enum: "NON_DISCLOSURE" "PRE_APPROVAL" The multi-party sharing election being proposed for the account. |
Responses
Request samples
- Payload
{- "action": "PRE_APPROVAL"
}Response samples
- 201
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "requestId": "f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50",
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901",
- "createdBy": "7c4a8d09ca3762af61e59520943dc264",
- "targetSharingStatus": "PRE_APPROVAL",
- "status": "PENDING",
- "responses": [
- {
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "response": "PENDING",
- "respondedAt": "2021-01-05T09:15:00Z"
}
], - "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2021-01-15T12:30:00Z"
}
}Get User Principal Account DOMS Request
Retrieve one DOMS request on an account, in the asserted User's context.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "requestId": "f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50",
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901",
- "createdBy": "7c4a8d09ca3762af61e59520943dc264",
- "targetSharingStatus": "PRE_APPROVAL",
- "status": "PENDING",
- "responses": [
- {
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "response": "PENDING",
- "respondedAt": "2021-01-05T09:15:00Z"
}
], - "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2021-01-15T12:30:00Z"
}
}Handle User Principal Account DOMS Request
Approve or deny a pending DOMS request, as an asserted owner of the account.
Authorizations:
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-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/jsonrequired
| action required | string (EnumDomsHandleDecisionV1) Enum: "APPROVED" "DENIED" An owner's response to a pending DOMS request. |
Responses
Request samples
- Payload
{- "action": "APPROVED"
}Response samples
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "requestId": "f3e6b2d4-9c1a-4f6e-8b2a-1d6c9e4a7b50",
- "accountId": "0b6d9c6e9d4a4e23a3b0a5d6c7e8f901",
- "createdBy": "7c4a8d09ca3762af61e59520943dc264",
- "targetSharingStatus": "PRE_APPROVAL",
- "status": "PENDING",
- "responses": [
- {
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "response": "PENDING",
- "respondedAt": "2021-01-05T09:15:00Z"
}
], - "createdTime": "2021-01-01T12:30:00Z",
- "expiryTime": "2021-01-15T12:30:00Z"
}
}Lookup User Profiles
List the Principals the asserted User can act as, with each one's vulnerability status.
Authorizations:
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-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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": [
- {
- "principalId": "08c31a2a9016d6c517a95562228a37c0",
- "profileName": "Jane Citizen",
- "principalType": "person",
- "profileType": "PRINCIPAL",
- "userId": "7c4a8d09ca3762af61e59520943dc264",
- "vulnerable": false
}
]
}Get Endpoint Meta
Report the request and response versions this deployment serves for each operation.
Authorizations:
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 |
| 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
- 200
- 400
- 401
- 403
- 404
- 406
{- "version": "V1",
- "data": {
- "listUserGrants": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getUserGrant": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getUserGrantHistory": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "revokeUserGrant": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "withdrawJointAccountSharingApprovalForGrant": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "listPrincipalGrants": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getPrincipalGrant": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getPrincipalGrantHistory": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "listUserPrincipalAccounts": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getUserPrincipalAccount": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getPrincipalGrantAccountDetails": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getUserGrantAccountDetails": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getUserAccountNotificationPreferences": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "updateUserAccountNotificationPreferences": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "listSecondaryUsers": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "updateSecondaryUser": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "listUserPrincipalAccountDomsRequests": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "getUserPrincipalAccountDomsRequest": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "createUserPrincipalAccountDomsRequest": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "handleUserPrincipalAccountDomsRequest": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "lookupUserProfiles": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}, - "exchangeToken": {
- "flags": { },
- "responseVersions": {
- "0": "V1"
}
}
}
}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:
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-urlencodedrequired
| 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 |
| 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/ |
| resource required | string Exactly one occurrence, required. The triggering |
| 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 |
| 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
- 200
- 400
- 401
- 403
- 404
{- "access_token": "eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJ1cm46ZXhhbXBsZS1yZWFsbTouLi4ifQ.signature",
- "issued_token_type": "urn:ietf:params:oauth:token-type:access_token",
- "token_type": "Bearer",
- "expires_in": 300
}