Class Class15XvPDirectRtgsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrTGSCreateXvP(String ncb, RTGSXvPInitRequest rtGSXvPInitRequest) Create a XvP instance ## Description Submit a request to create a new Direct RTGS XvP Instance for the specified Participant identified by its BIC including the whitelisted MDLTOperator.org.springframework.http.ResponseEntity<RTGSXvPInitResponse> rTGSCreateXvPWithHttpInfo(String ncb, RTGSXvPInitRequest rtGSXvPInitRequest) Create a XvP instance ## Description Submit a request to create a new Direct RTGS XvP Instance for the specified Participant identified by its BIC including the whitelisted MDLTOperator.org.springframework.web.client.RestClient.ResponseSpecrTGSCreateXvPWithResponseSpec(String ncb, RTGSXvPInitRequest rtGSXvPInitRequest) Create a XvP instance ## Description Submit a request to create a new Direct RTGS XvP Instance for the specified Participant identified by its BIC including the whitelisted MDLTOperator.rTGSGetPaymentStatus(UUID xvpTransactionId, KeyType key, String ncb) API for querying the payment Status ## Description Retrieves a Direct RTGS XvP Payment based on its XvP Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done - Payment Request alredy done ## Response Semantics - Returns the queried Direct RTGS XvP Payment and corresponding keys ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.d - Service Description Document - A2A Illustration - Section 3.7org.springframework.http.ResponseEntity<PaymentResponse> rTGSGetPaymentStatusWithHttpInfo(UUID xvpTransactionId, KeyType key, String ncb) API for querying the payment Status ## Description Retrieves a Direct RTGS XvP Payment based on its XvP Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done - Payment Request alredy done ## Response Semantics - Returns the queried Direct RTGS XvP Payment and corresponding keys ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.d - Service Description Document - A2A Illustration - Section 3.7org.springframework.web.client.RestClient.ResponseSpecrTGSGetPaymentStatusWithResponseSpec(UUID xvpTransactionId, KeyType key, String ncb) API for querying the payment Status ## Description Retrieves a Direct RTGS XvP Payment based on its XvP Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done - Payment Request alredy done ## Response Semantics - Returns the queried Direct RTGS XvP Payment and corresponding keys ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.d - Service Description Document - A2A Illustration - Section 3.7rTGSGetXvP(UUID xvpTransactionId, String ncb) Retrieve a XvP instance ## Description Retrieves a Direct RTGS XvP Instance based on its Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done ## Response Semantics - Returns the queried Direct RTGS XvP Instance with its associated Hashlink parameters ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.b - Service Description Document - A2A Illustration - Section 3.7org.springframework.http.ResponseEntity<RTGSXvPInitResponse> rTGSGetXvPWithHttpInfo(UUID xvpTransactionId, String ncb) Retrieve a XvP instance ## Description Retrieves a Direct RTGS XvP Instance based on its Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done ## Response Semantics - Returns the queried Direct RTGS XvP Instance with its associated Hashlink parameters ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.b - Service Description Document - A2A Illustration - Section 3.7org.springframework.web.client.RestClient.ResponseSpecrTGSGetXvPWithResponseSpec(UUID xvpTransactionId, String ncb) Retrieve a XvP instance ## Description Retrieves a Direct RTGS XvP Instance based on its Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done ## Response Semantics - Returns the queried Direct RTGS XvP Instance with its associated Hashlink parameters ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.b - Service Description Document - A2A Illustration - Section 3.7rTGSPayment(UUID xvpTransactionId, String ncb, RTGSPaymentRequest rtGSPaymentRequest) Execute a payment for a given XvP, using Direct RTGS settlement flow ## Description Submit a request to create a new Direct RTGS XvP Payment for the specified Participant identified by its BIC.org.springframework.http.ResponseEntity<PaymentResponse> rTGSPaymentWithHttpInfo(UUID xvpTransactionId, String ncb, RTGSPaymentRequest rtGSPaymentRequest) Execute a payment for a given XvP, using Direct RTGS settlement flow ## Description Submit a request to create a new Direct RTGS XvP Payment for the specified Participant identified by its BIC.org.springframework.web.client.RestClient.ResponseSpecrTGSPaymentWithResponseSpec(UUID xvpTransactionId, String ncb, RTGSPaymentRequest rtGSPaymentRequest) Execute a payment for a given XvP, using Direct RTGS settlement flow ## Description Submit a request to create a new Direct RTGS XvP Payment for the specified Participant identified by its BIC.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
Class15XvPDirectRtgsApi
public Class15XvPDirectRtgsApi() -
Class15XvPDirectRtgsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
rTGSCreateXvP
public RTGSXvPInitResponse rTGSCreateXvP(@Nonnull String ncb, @Nonnull RTGSXvPInitRequest rtGSXvPInitRequest) throws org.springframework.web.client.RestClientResponseException Create a XvP instance ## Description Submit a request to create a new Direct RTGS XvP Instance for the specified Participant identified by its BIC including the whitelisted MDLTOperator. The request is processed under the one-step validation workflow and will be executed directly, without requiring draft approval. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Open for all Workflow: - One-Step Validation Separation of Duties: - Not Applicable for One-Step Validation Status Preconditions: - Not applicable for One-Step Validation ## Request Semantics - The request is executed directly and creates the new Direct RTGS XvP Instance ## Field Mapping - \"marketDLTOperator\" = Market DLT Operator Identifier ## Field Rules - \"marketDLTOperator\" shall be whitelisted for Seller Entity ## Response Semantics - Returns confirmation that the new Direct RTGS XvP Instance has been created and the Hashlink Parameters needed to lock assets. ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.a - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Server Error
- Parameters:
ncb- NCB Short NamertGSXvPInitRequest- The rtGSXvPInitRequest parameter- Returns:
- RTGSXvPInitResponse
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSCreateXvPWithHttpInfo
public org.springframework.http.ResponseEntity<RTGSXvPInitResponse> rTGSCreateXvPWithHttpInfo(@Nonnull String ncb, @Nonnull RTGSXvPInitRequest rtGSXvPInitRequest) throws org.springframework.web.client.RestClientResponseException Create a XvP instance ## Description Submit a request to create a new Direct RTGS XvP Instance for the specified Participant identified by its BIC including the whitelisted MDLTOperator. The request is processed under the one-step validation workflow and will be executed directly, without requiring draft approval. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Open for all Workflow: - One-Step Validation Separation of Duties: - Not Applicable for One-Step Validation Status Preconditions: - Not applicable for One-Step Validation ## Request Semantics - The request is executed directly and creates the new Direct RTGS XvP Instance ## Field Mapping - \"marketDLTOperator\" = Market DLT Operator Identifier ## Field Rules - \"marketDLTOperator\" shall be whitelisted for Seller Entity ## Response Semantics - Returns confirmation that the new Direct RTGS XvP Instance has been created and the Hashlink Parameters needed to lock assets. ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.a - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Server Error
- Parameters:
ncb- NCB Short NamertGSXvPInitRequest- The rtGSXvPInitRequest parameter- Returns:
- ResponseEntity<RTGSXvPInitResponse>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSCreateXvPWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec rTGSCreateXvPWithResponseSpec(@Nonnull String ncb, @Nonnull RTGSXvPInitRequest rtGSXvPInitRequest) throws org.springframework.web.client.RestClientResponseException Create a XvP instance ## Description Submit a request to create a new Direct RTGS XvP Instance for the specified Participant identified by its BIC including the whitelisted MDLTOperator. The request is processed under the one-step validation workflow and will be executed directly, without requiring draft approval. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Open for all Workflow: - One-Step Validation Separation of Duties: - Not Applicable for One-Step Validation Status Preconditions: - Not applicable for One-Step Validation ## Request Semantics - The request is executed directly and creates the new Direct RTGS XvP Instance ## Field Mapping - \"marketDLTOperator\" = Market DLT Operator Identifier ## Field Rules - \"marketDLTOperator\" shall be whitelisted for Seller Entity ## Response Semantics - Returns confirmation that the new Direct RTGS XvP Instance has been created and the Hashlink Parameters needed to lock assets. ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.a - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Server Error
- Parameters:
ncb- NCB Short NamertGSXvPInitRequest- The rtGSXvPInitRequest parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSGetPaymentStatus
public PaymentResponse rTGSGetPaymentStatus(@Nonnull UUID xvpTransactionId, @Nonnull KeyType key, @Nonnull String ncb) throws org.springframework.web.client.RestClientResponseException API for querying the payment Status ## Description Retrieves a Direct RTGS XvP Payment based on its XvP Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done - Payment Request alredy done ## Response Semantics - Returns the queried Direct RTGS XvP Payment and corresponding keys ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.d - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.key- Key value depends on the calling actor. Seller can use only \"CANCELLATION\" Buyer can use only \"EXECUTION\"ncb- NCB Short Name- Returns:
- PaymentResponse
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSGetPaymentStatusWithHttpInfo
public org.springframework.http.ResponseEntity<PaymentResponse> rTGSGetPaymentStatusWithHttpInfo(@Nonnull UUID xvpTransactionId, @Nonnull KeyType key, @Nonnull String ncb) throws org.springframework.web.client.RestClientResponseException API for querying the payment Status ## Description Retrieves a Direct RTGS XvP Payment based on its XvP Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done - Payment Request alredy done ## Response Semantics - Returns the queried Direct RTGS XvP Payment and corresponding keys ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.d - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.key- Key value depends on the calling actor. Seller can use only \"CANCELLATION\" Buyer can use only \"EXECUTION\"ncb- NCB Short Name- Returns:
- ResponseEntity<PaymentResponse>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSGetPaymentStatusWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec rTGSGetPaymentStatusWithResponseSpec(@Nonnull UUID xvpTransactionId, @Nonnull KeyType key, @Nonnull String ncb) throws org.springframework.web.client.RestClientResponseException API for querying the payment Status ## Description Retrieves a Direct RTGS XvP Payment based on its XvP Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done - Payment Request alredy done ## Response Semantics - Returns the queried Direct RTGS XvP Payment and corresponding keys ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.d - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.key- Key value depends on the calling actor. Seller can use only \"CANCELLATION\" Buyer can use only \"EXECUTION\"ncb- NCB Short Name- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSGetXvP
public RTGSXvPInitResponse rTGSGetXvP(@Nonnull UUID xvpTransactionId, @Nonnull String ncb) throws org.springframework.web.client.RestClientResponseException Retrieve a XvP instance ## Description Retrieves a Direct RTGS XvP Instance based on its Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done ## Response Semantics - Returns the queried Direct RTGS XvP Instance with its associated Hashlink parameters ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.b - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.ncb- NCB Short Name- Returns:
- RTGSXvPInitResponse
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSGetXvPWithHttpInfo
public org.springframework.http.ResponseEntity<RTGSXvPInitResponse> rTGSGetXvPWithHttpInfo(@Nonnull UUID xvpTransactionId, @Nonnull String ncb) throws org.springframework.web.client.RestClientResponseException Retrieve a XvP instance ## Description Retrieves a Direct RTGS XvP Instance based on its Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done ## Response Semantics - Returns the queried Direct RTGS XvP Instance with its associated Hashlink parameters ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.b - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.ncb- NCB Short Name- Returns:
- ResponseEntity<RTGSXvPInitResponse>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSGetXvPWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec rTGSGetXvPWithResponseSpec(@Nonnull UUID xvpTransactionId, @Nonnull String ncb) throws org.springframework.web.client.RestClientResponseException Retrieve a XvP instance ## Description Retrieves a Direct RTGS XvP Instance based on its Identifier ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Start of day - Open for all - End of day Status Preconditions: - Initialisation already done ## Response Semantics - Returns the queried Direct RTGS XvP Instance with its associated Hashlink parameters ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.b - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.ncb- NCB Short Name- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSPayment
public PaymentResponse rTGSPayment(@Nonnull UUID xvpTransactionId, @Nonnull String ncb, @Nonnull RTGSPaymentRequest rtGSPaymentRequest) throws org.springframework.web.client.RestClientResponseException Execute a payment for a given XvP, using Direct RTGS settlement flow ## Description Submit a request to create a new Direct RTGS XvP Payment for the specified Participant identified by its BIC. The request is processed under the one-step validation workflow and will be executed directly, without requiring draft approval. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Open for all Workflow: - One-Step Validation Separation of Duties: - Not Applicable for One-Step Validation Status Preconditions: - Not applicable for One-Step Validation ## Request Semantics - The request is executed directly and creates the new Direct RTGS XvP Payment ## Field Mapping - \"marketDLTOperator\" = Market DLT Operator Identifier - signature = Signature of Direct RTGS Payload in Base 64 format - signerPEM = Base 64 Encoded Certificate ## Field Rules - \"marketDLTOperator\" shall be whitelisted for Buyer Entity - \"signature\" shall contain signature of Payload containing only \"xvpTransactionId\", \"amount\", \"buyer bic\" and \"seller bic\" ## Signing Rules: - The fields shall be concatenated as a string in the following order: 1. \"xvpTransactionId\", once transformed as described below 2. \"amount\" 3. \"buyer bic\" 4. \"seller bic\" - No separator, delimiter, or any additional character shall be inserted between concatenated values - The SHA256 hash shall be computed on the resulting concatenated string - The resulting hash shall then be signed using the user private key and SHA256withECDSA algorithm - The generated signature shall be provided in the \"signature\" field of the request payload Step-by-Step Example: Based on the following payload values: - \"xvpTransactionId\": \"517ae232-29e7-4efb-8743-0177bbe6d577\" - \"amount\": \"10000.50\" - \"buyer\": {\"bic\": \"BEUMFXB1XXX\"} - \"seller\": {\"bic\": \"BEUMFXB1XX2\"} Step 1 - Concatenate the fields: The \"xvpTransactionId\" needs to be transformed before concatenation by removing \"-\" characters and adding \"xvp\" prefix: 517ae232-29e7-4efb-8743-0177bbe6d577 = xvp517ae23229e74efb87430177bbe6d577 The concatenated string to be hashed is: xvp517ae23229e74efb87430177bbe6d57710000.50BEUMFXB1XXXBEUMFXB1XX2 Step 2 - Generate the SHA256 hash: The generated hash to be signed is: a7e717ea9fae0d970d60b47397858084e7659dc29a426b53eb04ef35c40a399c Step 3 - Sign the hash: The SHA256 hash shall then be signed using the relevant user private key and applying the SHA256withECDSA algorithm. The signing operation can be performed using different technical means, including command lines (e.g. OpenSSL), application code (e.g. NOdeJS), or scripts (e.g. bash). The generated signature is: MEYCIQDstSFJUr9CpSXFVCj0aSCMpsIH3IfGwKysE5jIZUTWlgIhAJY5Tsglo6kaCbAHMNYszfO80rCqrLdLPzkwzMsCVSg1 Step 4 - Populate the payload: The generated signature shall be inserted into the \"signature\" of the request payload: \"signature\": \"MEYCIQDstSFJUr9CpSXFVCj0aSCMpsIH3IfGwKysE5jIZUTWlgIhAJY5Tsglo6kaCbAHMNYszfO80rCqrLdLPzkwzMsCVSg1\" ## Response Semantics - Returns confirmation that the new Direct RTGS XvP Payment has been settled and the corresponding \"executionKey\" ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.c - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.ncb- NCB Short NamertGSPaymentRequest- The rtGSPaymentRequest parameter- Returns:
- PaymentResponse
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSPaymentWithHttpInfo
public org.springframework.http.ResponseEntity<PaymentResponse> rTGSPaymentWithHttpInfo(@Nonnull UUID xvpTransactionId, @Nonnull String ncb, @Nonnull RTGSPaymentRequest rtGSPaymentRequest) throws org.springframework.web.client.RestClientResponseException Execute a payment for a given XvP, using Direct RTGS settlement flow ## Description Submit a request to create a new Direct RTGS XvP Payment for the specified Participant identified by its BIC. The request is processed under the one-step validation workflow and will be executed directly, without requiring draft approval. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Open for all Workflow: - One-Step Validation Separation of Duties: - Not Applicable for One-Step Validation Status Preconditions: - Not applicable for One-Step Validation ## Request Semantics - The request is executed directly and creates the new Direct RTGS XvP Payment ## Field Mapping - \"marketDLTOperator\" = Market DLT Operator Identifier - signature = Signature of Direct RTGS Payload in Base 64 format - signerPEM = Base 64 Encoded Certificate ## Field Rules - \"marketDLTOperator\" shall be whitelisted for Buyer Entity - \"signature\" shall contain signature of Payload containing only \"xvpTransactionId\", \"amount\", \"buyer bic\" and \"seller bic\" ## Signing Rules: - The fields shall be concatenated as a string in the following order: 1. \"xvpTransactionId\", once transformed as described below 2. \"amount\" 3. \"buyer bic\" 4. \"seller bic\" - No separator, delimiter, or any additional character shall be inserted between concatenated values - The SHA256 hash shall be computed on the resulting concatenated string - The resulting hash shall then be signed using the user private key and SHA256withECDSA algorithm - The generated signature shall be provided in the \"signature\" field of the request payload Step-by-Step Example: Based on the following payload values: - \"xvpTransactionId\": \"517ae232-29e7-4efb-8743-0177bbe6d577\" - \"amount\": \"10000.50\" - \"buyer\": {\"bic\": \"BEUMFXB1XXX\"} - \"seller\": {\"bic\": \"BEUMFXB1XX2\"} Step 1 - Concatenate the fields: The \"xvpTransactionId\" needs to be transformed before concatenation by removing \"-\" characters and adding \"xvp\" prefix: 517ae232-29e7-4efb-8743-0177bbe6d577 = xvp517ae23229e74efb87430177bbe6d577 The concatenated string to be hashed is: xvp517ae23229e74efb87430177bbe6d57710000.50BEUMFXB1XXXBEUMFXB1XX2 Step 2 - Generate the SHA256 hash: The generated hash to be signed is: a7e717ea9fae0d970d60b47397858084e7659dc29a426b53eb04ef35c40a399c Step 3 - Sign the hash: The SHA256 hash shall then be signed using the relevant user private key and applying the SHA256withECDSA algorithm. The signing operation can be performed using different technical means, including command lines (e.g. OpenSSL), application code (e.g. NOdeJS), or scripts (e.g. bash). The generated signature is: MEYCIQDstSFJUr9CpSXFVCj0aSCMpsIH3IfGwKysE5jIZUTWlgIhAJY5Tsglo6kaCbAHMNYszfO80rCqrLdLPzkwzMsCVSg1 Step 4 - Populate the payload: The generated signature shall be inserted into the \"signature\" of the request payload: \"signature\": \"MEYCIQDstSFJUr9CpSXFVCj0aSCMpsIH3IfGwKysE5jIZUTWlgIhAJY5Tsglo6kaCbAHMNYszfO80rCqrLdLPzkwzMsCVSg1\" ## Response Semantics - Returns confirmation that the new Direct RTGS XvP Payment has been settled and the corresponding \"executionKey\" ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.c - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.ncb- NCB Short NamertGSPaymentRequest- The rtGSPaymentRequest parameter- Returns:
- ResponseEntity<PaymentResponse>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
rTGSPaymentWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec rTGSPaymentWithResponseSpec(@Nonnull UUID xvpTransactionId, @Nonnull String ncb, @Nonnull RTGSPaymentRequest rtGSPaymentRequest) throws org.springframework.web.client.RestClientResponseException Execute a payment for a given XvP, using Direct RTGS settlement flow ## Description Submit a request to create a new Direct RTGS XvP Payment for the specified Participant identified by its BIC. The request is processed under the one-step validation workflow and will be executed directly, without requiring draft approval. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - Whitelisted Market DLT Operator Authorised Profiles: - EXTERNAL_USER Business Window: - Open for all Workflow: - One-Step Validation Separation of Duties: - Not Applicable for One-Step Validation Status Preconditions: - Not applicable for One-Step Validation ## Request Semantics - The request is executed directly and creates the new Direct RTGS XvP Payment ## Field Mapping - \"marketDLTOperator\" = Market DLT Operator Identifier - signature = Signature of Direct RTGS Payload in Base 64 format - signerPEM = Base 64 Encoded Certificate ## Field Rules - \"marketDLTOperator\" shall be whitelisted for Buyer Entity - \"signature\" shall contain signature of Payload containing only \"xvpTransactionId\", \"amount\", \"buyer bic\" and \"seller bic\" ## Signing Rules: - The fields shall be concatenated as a string in the following order: 1. \"xvpTransactionId\", once transformed as described below 2. \"amount\" 3. \"buyer bic\" 4. \"seller bic\" - No separator, delimiter, or any additional character shall be inserted between concatenated values - The SHA256 hash shall be computed on the resulting concatenated string - The resulting hash shall then be signed using the user private key and SHA256withECDSA algorithm - The generated signature shall be provided in the \"signature\" field of the request payload Step-by-Step Example: Based on the following payload values: - \"xvpTransactionId\": \"517ae232-29e7-4efb-8743-0177bbe6d577\" - \"amount\": \"10000.50\" - \"buyer\": {\"bic\": \"BEUMFXB1XXX\"} - \"seller\": {\"bic\": \"BEUMFXB1XX2\"} Step 1 - Concatenate the fields: The \"xvpTransactionId\" needs to be transformed before concatenation by removing \"-\" characters and adding \"xvp\" prefix: 517ae232-29e7-4efb-8743-0177bbe6d577 = xvp517ae23229e74efb87430177bbe6d577 The concatenated string to be hashed is: xvp517ae23229e74efb87430177bbe6d57710000.50BEUMFXB1XXXBEUMFXB1XX2 Step 2 - Generate the SHA256 hash: The generated hash to be signed is: a7e717ea9fae0d970d60b47397858084e7659dc29a426b53eb04ef35c40a399c Step 3 - Sign the hash: The SHA256 hash shall then be signed using the relevant user private key and applying the SHA256withECDSA algorithm. The signing operation can be performed using different technical means, including command lines (e.g. OpenSSL), application code (e.g. NOdeJS), or scripts (e.g. bash). The generated signature is: MEYCIQDstSFJUr9CpSXFVCj0aSCMpsIH3IfGwKysE5jIZUTWlgIhAJY5Tsglo6kaCbAHMNYszfO80rCqrLdLPzkwzMsCVSg1 Step 4 - Populate the payload: The generated signature shall be inserted into the \"signature\" of the request payload: \"signature\": \"MEYCIQDstSFJUr9CpSXFVCj0aSCMpsIH3IfGwKysE5jIZUTWlgIhAJY5Tsglo6kaCbAHMNYszfO80rCqrLdLPzkwzMsCVSg1\" ## Response Semantics - Returns confirmation that the new Direct RTGS XvP Payment has been settled and the corresponding \"executionKey\" ## Traceability - Reference Documents: - Service Description Document - DvP & PvP with Direct RTGS - Section 3.5.6.c - Service Description Document - A2A Illustration - Section 3.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Server Error
- Parameters:
xvpTransactionId- Unique ID of the XvP transaction.ncb- NCB Short NamertGSPaymentRequest- The rtGSPaymentRequest parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-