Class Class08IssuanceCashTokenContingency2StepsApi

java.lang.Object
net.finmath.smartbonds.pontes.api.Class08IssuanceCashTokenContingency2StepsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class Class08IssuanceCashTokenContingency2StepsApi extends Object
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Retrieve Transaction Draft by ID ## Description Retrieves a Transaction Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Transaction Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7
    org.springframework.http.ResponseEntity<RequestvalidationOperationRequest>
    Retrieve Transaction Draft by ID ## Description Retrieves a Transaction Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Transaction Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7
    org.springframework.web.client.RestClient.ResponseSpec
    Retrieve Transaction Draft by ID ## Description Retrieves a Transaction Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Transaction Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7
    void
     
    Submit Cash Token Transaction Request ## Description Submit a draft request to create a new Cash Token Transaction for the specified Dedicated Cash Wallet.
    org.springframework.http.ResponseEntity<RequestvalidationOperationRequest>
    Submit Cash Token Transaction Request ## Description Submit a draft request to create a new Cash Token Transaction for the specified Dedicated Cash Wallet.
    org.springframework.web.client.RestClient.ResponseSpec
    Submit Cash Token Transaction Request ## Description Submit a draft request to create a new Cash Token Transaction for the specified Dedicated Cash Wallet.
    updateCashTokenTransactionDraftStatus(String ncb, String instructionID, String status, RequestvalidationOperationRequest requestvalidationOperationRequest)
    Update Cash Token Transaction Draft Status ## Description Submit update of an existing Cash Token Transaction Draft previously created.
    org.springframework.http.ResponseEntity<String>
    updateCashTokenTransactionDraftStatusWithHttpInfo(String ncb, String instructionID, String status, RequestvalidationOperationRequest requestvalidationOperationRequest)
    Update Cash Token Transaction Draft Status ## Description Submit update of an existing Cash Token Transaction Draft previously created.
    org.springframework.web.client.RestClient.ResponseSpec
    updateCashTokenTransactionDraftStatusWithResponseSpec(String ncb, String instructionID, String status, RequestvalidationOperationRequest requestvalidationOperationRequest)
    Update Cash Token Transaction Draft Status ## Description Submit update of an existing Cash Token Transaction Draft previously created.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Class08IssuanceCashTokenContingency2StepsApi

      public Class08IssuanceCashTokenContingency2StepsApi()
    • Class08IssuanceCashTokenContingency2StepsApi

      public Class08IssuanceCashTokenContingency2StepsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getCashTokenTransactionDraftById

      public RequestvalidationOperationRequest getCashTokenTransactionDraftById(@Nonnull String ncb, @Nonnull String instructionID) throws org.springframework.web.client.RestClientResponseException
      Retrieve Transaction Draft by ID ## Description Retrieves a Transaction Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Transaction Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      instructionID - Transaction ID
      Returns:
      RequestvalidationOperationRequest
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getCashTokenTransactionDraftByIdWithHttpInfo

      public org.springframework.http.ResponseEntity<RequestvalidationOperationRequest> getCashTokenTransactionDraftByIdWithHttpInfo(@Nonnull String ncb, @Nonnull String instructionID) throws org.springframework.web.client.RestClientResponseException
      Retrieve Transaction Draft by ID ## Description Retrieves a Transaction Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Transaction Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      instructionID - Transaction ID
      Returns:
      ResponseEntity<RequestvalidationOperationRequest>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getCashTokenTransactionDraftByIdWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec getCashTokenTransactionDraftByIdWithResponseSpec(@Nonnull String ncb, @Nonnull String instructionID) throws org.springframework.web.client.RestClientResponseException
      Retrieve Transaction Draft by ID ## Description Retrieves a Transaction Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Transaction Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      instructionID - Transaction ID
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • submitCashTokenTransactionRequest

      public RequestvalidationOperationRequest submitCashTokenTransactionRequest(@Nonnull String ncb, @Nonnull RequestvalidationCreateOperationRequest requestvalidationCreateOperationRequest) throws org.springframework.web.client.RestClientResponseException
      Submit Cash Token Transaction Request ## Description Submit a draft request to create a new Cash Token Transaction for the specified Dedicated Cash Wallet. 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 - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) 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 Cash Token Transaction Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user - DedicatedCashWalletOwner: - Authorised if owner of the specified Dedicated Cash Wallet - Authorised if granted Instruct On Behalf over specified Dedicated Cash Wallet - DedicatedCashWalletManager: - Authorised if manager of the specified Dedicated Cash Wallet - For \"Payment - Cash Token - 2 Steps\" only: - when an ISD is specified, the transaction remains in PENDING_SETTLEMENT until ISD is reached. Settlement starts once the \"Open for All\" window begins, resulting in SETTLED, UNSETTLED or REJECTED. ## Field Mapping - \"ISD\" = Intended Settlement Date - \"CashWalletAlias\" = Dedicated Cash Wallet Identifier - \"CashWalletManagerID\" = DedicatedCashWalletManager BIC - \"instructingPartyID\" = Instructing Party BIC - \"type\" = TRANSFER or ISSUANCE or REDEMPTION - \"cbdcRequestType\" = PAYMENT or OPERATION ## Field Rules - If Transaction is a Cash Token Payment: - \"type\" = \"TRANSFER\" - \"cbdcRequestType\" = \"PAYMENT\" - If Transaction is a Cash Token Transfer: - \"type\" = \"TRANSFER\" - \"cbdcRequestType\" = \"OPERATION\" - If Transaction is a Cash Token Issuance: - \"type\" = \"ISSUANCE\" - \"cbdcRequestType\" = \"OPERATION\" - \"debitedCashWalletAlias\" = WEUEURECBFDEFFTPP-TOKEN_ISSUANCE_WALLET - \"fundingRequestID\" is mandatory and shall be filled with associated unsuccessful Funding Request ID - If Transaction is a Cash Token Redemption: - \"type\" = \"REDEMPTION\" - \"cbdcRequestType\" = \"OPERATION\" - \"creditedCashWalletAlias\" = WEUEURECBFDEFFTPP-TOKEN_ISSUANCE_WALLET ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft includes the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7

      201 - Cash Token Transaction Draft Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      requestvalidationCreateOperationRequest - Create Cash Token Transaction Draft
      Returns:
      RequestvalidationOperationRequest
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • submitCashTokenTransactionRequestWithHttpInfo

      public org.springframework.http.ResponseEntity<RequestvalidationOperationRequest> submitCashTokenTransactionRequestWithHttpInfo(@Nonnull String ncb, @Nonnull RequestvalidationCreateOperationRequest requestvalidationCreateOperationRequest) throws org.springframework.web.client.RestClientResponseException
      Submit Cash Token Transaction Request ## Description Submit a draft request to create a new Cash Token Transaction for the specified Dedicated Cash Wallet. 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 - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) 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 Cash Token Transaction Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user - DedicatedCashWalletOwner: - Authorised if owner of the specified Dedicated Cash Wallet - Authorised if granted Instruct On Behalf over specified Dedicated Cash Wallet - DedicatedCashWalletManager: - Authorised if manager of the specified Dedicated Cash Wallet - For \"Payment - Cash Token - 2 Steps\" only: - when an ISD is specified, the transaction remains in PENDING_SETTLEMENT until ISD is reached. Settlement starts once the \"Open for All\" window begins, resulting in SETTLED, UNSETTLED or REJECTED. ## Field Mapping - \"ISD\" = Intended Settlement Date - \"CashWalletAlias\" = Dedicated Cash Wallet Identifier - \"CashWalletManagerID\" = DedicatedCashWalletManager BIC - \"instructingPartyID\" = Instructing Party BIC - \"type\" = TRANSFER or ISSUANCE or REDEMPTION - \"cbdcRequestType\" = PAYMENT or OPERATION ## Field Rules - If Transaction is a Cash Token Payment: - \"type\" = \"TRANSFER\" - \"cbdcRequestType\" = \"PAYMENT\" - If Transaction is a Cash Token Transfer: - \"type\" = \"TRANSFER\" - \"cbdcRequestType\" = \"OPERATION\" - If Transaction is a Cash Token Issuance: - \"type\" = \"ISSUANCE\" - \"cbdcRequestType\" = \"OPERATION\" - \"debitedCashWalletAlias\" = WEUEURECBFDEFFTPP-TOKEN_ISSUANCE_WALLET - \"fundingRequestID\" is mandatory and shall be filled with associated unsuccessful Funding Request ID - If Transaction is a Cash Token Redemption: - \"type\" = \"REDEMPTION\" - \"cbdcRequestType\" = \"OPERATION\" - \"creditedCashWalletAlias\" = WEUEURECBFDEFFTPP-TOKEN_ISSUANCE_WALLET ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft includes the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7

      201 - Cash Token Transaction Draft Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      requestvalidationCreateOperationRequest - Create Cash Token Transaction Draft
      Returns:
      ResponseEntity<RequestvalidationOperationRequest>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • submitCashTokenTransactionRequestWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec submitCashTokenTransactionRequestWithResponseSpec(@Nonnull String ncb, @Nonnull RequestvalidationCreateOperationRequest requestvalidationCreateOperationRequest) throws org.springframework.web.client.RestClientResponseException
      Submit Cash Token Transaction Request ## Description Submit a draft request to create a new Cash Token Transaction for the specified Dedicated Cash Wallet. 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 - DedicatedCashWalletOwner (PAYMENT & OPERATION only) Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day (only for ISSUANCE) - Open for all - End of day (only for REDEMPTION) 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 Cash Token Transaction Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user - DedicatedCashWalletOwner: - Authorised if owner of the specified Dedicated Cash Wallet - Authorised if granted Instruct On Behalf over specified Dedicated Cash Wallet - DedicatedCashWalletManager: - Authorised if manager of the specified Dedicated Cash Wallet - For \"Payment - Cash Token - 2 Steps\" only: - when an ISD is specified, the transaction remains in PENDING_SETTLEMENT until ISD is reached. Settlement starts once the \"Open for All\" window begins, resulting in SETTLED, UNSETTLED or REJECTED. ## Field Mapping - \"ISD\" = Intended Settlement Date - \"CashWalletAlias\" = Dedicated Cash Wallet Identifier - \"CashWalletManagerID\" = DedicatedCashWalletManager BIC - \"instructingPartyID\" = Instructing Party BIC - \"type\" = TRANSFER or ISSUANCE or REDEMPTION - \"cbdcRequestType\" = PAYMENT or OPERATION ## Field Rules - If Transaction is a Cash Token Payment: - \"type\" = \"TRANSFER\" - \"cbdcRequestType\" = \"PAYMENT\" - If Transaction is a Cash Token Transfer: - \"type\" = \"TRANSFER\" - \"cbdcRequestType\" = \"OPERATION\" - If Transaction is a Cash Token Issuance: - \"type\" = \"ISSUANCE\" - \"cbdcRequestType\" = \"OPERATION\" - \"debitedCashWalletAlias\" = WEUEURECBFDEFFTPP-TOKEN_ISSUANCE_WALLET - \"fundingRequestID\" is mandatory and shall be filled with associated unsuccessful Funding Request ID - If Transaction is a Cash Token Redemption: - \"type\" = \"REDEMPTION\" - \"cbdcRequestType\" = \"OPERATION\" - \"creditedCashWalletAlias\" = WEUEURECBFDEFFTPP-TOKEN_ISSUANCE_WALLET ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft includes the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Payment Cash Token - Section 3.5.4.a - Service Description Document - Transfer - Section 3.5.3 - Service Description Document - A2A Illustration - Section 3.7

      201 - Cash Token Transaction Draft Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      requestvalidationCreateOperationRequest - Create Cash Token Transaction Draft
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateCashTokenTransactionDraftStatus

      public String updateCashTokenTransactionDraftStatus(@Nonnull String ncb, @Nonnull String instructionID, @Nonnull String status, @Nonnull RequestvalidationOperationRequest requestvalidationOperationRequest) throws org.springframework.web.client.RestClientResponseException
      Update Cash Token Transaction Draft Status ## Description Submit update of an existing Cash Token Transaction 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 - DedicatedCashWalletOwner Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day - Open for all 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.7

      200 - Cash Token Transaction Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      instructionID - Transaction ID
      status - Cash Token Transaction Draft Status
      requestvalidationOperationRequest - Update Cash Token Transaction Draft
      Returns:
      String
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateCashTokenTransactionDraftStatusWithHttpInfo

      public org.springframework.http.ResponseEntity<String> updateCashTokenTransactionDraftStatusWithHttpInfo(@Nonnull String ncb, @Nonnull String instructionID, @Nonnull String status, @Nonnull RequestvalidationOperationRequest requestvalidationOperationRequest) throws org.springframework.web.client.RestClientResponseException
      Update Cash Token Transaction Draft Status ## Description Submit update of an existing Cash Token Transaction 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 - DedicatedCashWalletOwner Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day - Open for all 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.7

      200 - Cash Token Transaction Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      instructionID - Transaction ID
      status - Cash Token Transaction Draft Status
      requestvalidationOperationRequest - Update Cash Token Transaction Draft
      Returns:
      ResponseEntity<String>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateCashTokenTransactionDraftStatusWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec updateCashTokenTransactionDraftStatusWithResponseSpec(@Nonnull String ncb, @Nonnull String instructionID, @Nonnull String status, @Nonnull RequestvalidationOperationRequest requestvalidationOperationRequest) throws org.springframework.web.client.RestClientResponseException
      Update Cash Token Transaction Draft Status ## Description Submit update of an existing Cash Token Transaction 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 - DedicatedCashWalletOwner Authorised Profiles: - PILOT_READ_WRITE Business Window: - Start of day - Open for all 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.7

      200 - Cash Token Transaction Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      instructionID - Transaction ID
      status - Cash Token Transaction Draft Status
      requestvalidationOperationRequest - Update Cash Token Transaction Draft
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API