Class Class02T2AccountReference2StepsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateT2AccountReference(String ncb, AccountmanagementCreateT2Account accountmanagementCreateT2Account) Submit T2 Account Reference Creation Request ## Description Submit a draft request to create a new T2 Account Reference for the specified Participant identified by its BIC.org.springframework.http.ResponseEntity<AccountmanagementT2Account> createT2AccountReferenceWithHttpInfo(String ncb, AccountmanagementCreateT2Account accountmanagementCreateT2Account) Submit T2 Account Reference Creation Request ## Description Submit a draft request to create a new T2 Account Reference for the specified Participant identified by its BIC.org.springframework.web.client.RestClient.ResponseSpeccreateT2AccountReferenceWithResponseSpec(String ncb, AccountmanagementCreateT2Account accountmanagementCreateT2Account) Submit T2 Account Reference Creation Request ## Description Submit a draft request to create a new T2 Account Reference for the specified Participant identified by its BIC.getT2AccountReferenceDraftById(String ncb, String id) Retrieve T2 Account Reference Creation Draft by ID ## Description Retrieves a T2 Account Reference Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried T2 Account Reference Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7org.springframework.http.ResponseEntity<AccountmanagementT2Account> Retrieve T2 Account Reference Creation Draft by ID ## Description Retrieves a T2 Account Reference Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried T2 Account Reference Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7org.springframework.web.client.RestClient.ResponseSpecRetrieve T2 Account Reference Creation Draft by ID ## Description Retrieves a T2 Account Reference Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried T2 Account Reference Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7voidsetApiClient(ApiClient apiClient) updateT2AccountReferenceDraftStatus(String ncb, String id, String status, AccountmanagementT2Account accountmanagementT2Account) Update T2 Account Reference Creation Draft Status ## Description Submit update of an existing T2 Account Reference Draft previously created.org.springframework.http.ResponseEntity<String> updateT2AccountReferenceDraftStatusWithHttpInfo(String ncb, String id, String status, AccountmanagementT2Account accountmanagementT2Account) Update T2 Account Reference Creation Draft Status ## Description Submit update of an existing T2 Account Reference Draft previously created.org.springframework.web.client.RestClient.ResponseSpecupdateT2AccountReferenceDraftStatusWithResponseSpec(String ncb, String id, String status, AccountmanagementT2Account accountmanagementT2Account) Update T2 Account Reference Creation Draft Status ## Description Submit update of an existing T2 Account Reference Draft previously created.
-
Constructor Details
-
Class02T2AccountReference2StepsApi
public Class02T2AccountReference2StepsApi() -
Class02T2AccountReference2StepsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createT2AccountReference
public AccountmanagementT2Account createT2AccountReference(@Nonnull String ncb, @Nonnull AccountmanagementCreateT2Account accountmanagementCreateT2Account) throws org.springframework.web.client.RestClientResponseException Submit T2 Account Reference Creation Request ## Description Submit a draft request to create a new T2 Account Reference for the specified Participant identified by its BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Creation) Separation of Duties: - Initiator and Approver must be two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new T2 Account Reference Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"accountReference\" = Participant T2 Account Reference - \"entityID\" = Participant BIC ## Field Rules - \"entityID\" shall contain a declared Participant BIC - \"accountReference\" shall only contain the T2 Account Reference of the DCA linked to Participant BIC in RTGS ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameaccountmanagementCreateT2Account- Add T2 Account- Returns:
- AccountmanagementT2Account
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
createT2AccountReferenceWithHttpInfo
public org.springframework.http.ResponseEntity<AccountmanagementT2Account> createT2AccountReferenceWithHttpInfo(@Nonnull String ncb, @Nonnull AccountmanagementCreateT2Account accountmanagementCreateT2Account) throws org.springframework.web.client.RestClientResponseException Submit T2 Account Reference Creation Request ## Description Submit a draft request to create a new T2 Account Reference for the specified Participant identified by its BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Creation) Separation of Duties: - Initiator and Approver must be two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new T2 Account Reference Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"accountReference\" = Participant T2 Account Reference - \"entityID\" = Participant BIC ## Field Rules - \"entityID\" shall contain a declared Participant BIC - \"accountReference\" shall only contain the T2 Account Reference of the DCA linked to Participant BIC in RTGS ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameaccountmanagementCreateT2Account- Add T2 Account- Returns:
- ResponseEntity<AccountmanagementT2Account>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
createT2AccountReferenceWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec createT2AccountReferenceWithResponseSpec(@Nonnull String ncb, @Nonnull AccountmanagementCreateT2Account accountmanagementCreateT2Account) throws org.springframework.web.client.RestClientResponseException Submit T2 Account Reference Creation Request ## Description Submit a draft request to create a new T2 Account Reference for the specified Participant identified by its BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Creation) Separation of Duties: - Initiator and Approver must be two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new T2 Account Reference Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"accountReference\" = Participant T2 Account Reference - \"entityID\" = Participant BIC ## Field Rules - \"entityID\" shall contain a declared Participant BIC - \"accountReference\" shall only contain the T2 Account Reference of the DCA linked to Participant BIC in RTGS ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameaccountmanagementCreateT2Account- Add T2 Account- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
getT2AccountReferenceDraftById
public AccountmanagementT2Account getT2AccountReferenceDraftById(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException Retrieve T2 Account Reference Creation Draft by ID ## Description Retrieves a T2 Account Reference Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried T2 Account Reference Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- T2Account Draft ID- Returns:
- AccountmanagementT2Account
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
getT2AccountReferenceDraftByIdWithHttpInfo
public org.springframework.http.ResponseEntity<AccountmanagementT2Account> getT2AccountReferenceDraftByIdWithHttpInfo(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException Retrieve T2 Account Reference Creation Draft by ID ## Description Retrieves a T2 Account Reference Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried T2 Account Reference Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- T2Account Draft ID- Returns:
- ResponseEntity<AccountmanagementT2Account>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
getT2AccountReferenceDraftByIdWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec getT2AccountReferenceDraftByIdWithResponseSpec(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException Retrieve T2 Account Reference Creation Draft by ID ## Description Retrieves a T2 Account Reference Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried T2 Account Reference Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - T2 Account Reference - Section 3.4.3 - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- T2Account Draft ID- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
updateT2AccountReferenceDraftStatus
public String updateT2AccountReferenceDraftStatus(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementT2Account accountmanagementT2Account) throws org.springframework.web.client.RestClientResponseException Update T2 Account Reference Creation Draft Status ## Description Submit update of an existing T2 Account Reference Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7200 - T2 Account Reference Draft Updated Successfully
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- T2 Account Draft IDstatus- T2 Account Draft statusaccountmanagementT2Account- Update T2 Account Reference Draft- Returns:
- String
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
updateT2AccountReferenceDraftStatusWithHttpInfo
public org.springframework.http.ResponseEntity<String> updateT2AccountReferenceDraftStatusWithHttpInfo(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementT2Account accountmanagementT2Account) throws org.springframework.web.client.RestClientResponseException Update T2 Account Reference Creation Draft Status ## Description Submit update of an existing T2 Account Reference Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7200 - T2 Account Reference Draft Updated Successfully
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- T2 Account Draft IDstatus- T2 Account Draft statusaccountmanagementT2Account- Update T2 Account Reference Draft- Returns:
- ResponseEntity<String>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
updateT2AccountReferenceDraftStatusWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec updateT2AccountReferenceDraftStatusWithResponseSpec(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementT2Account accountmanagementT2Account) throws org.springframework.web.client.RestClientResponseException Update T2 Account Reference Creation Draft Status ## Description Submit update of an existing T2 Account Reference Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7200 - T2 Account Reference Draft Updated Successfully
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- T2 Account Draft IDstatus- T2 Account Draft statusaccountmanagementT2Account- Update T2 Account Reference Draft- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-