Class Class14PaymentDirectRtgs1StepApi
java.lang.Object
net.finmath.smartbonds.pontes.api.Class14PaymentDirectRtgs1StepApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.24.0")
public class Class14PaymentDirectRtgs1StepApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) submitDirectRTGSPayment(String ncb, BridgeDirectRTGSPaymentInstruction bridgeDirectRTGSPaymentInstruction) Submit Direct RTGS Payment ## Description Submit a request to create a new Direct RTGS Payment for the specified Participant identified by its BIC.org.springframework.http.ResponseEntity<BridgeDirectRTGS> submitDirectRTGSPaymentWithHttpInfo(String ncb, BridgeDirectRTGSPaymentInstruction bridgeDirectRTGSPaymentInstruction) Submit Direct RTGS Payment ## Description Submit a request to create a new Direct RTGS Payment for the specified Participant identified by its BIC.org.springframework.web.client.RestClient.ResponseSpecsubmitDirectRTGSPaymentWithResponseSpec(String ncb, BridgeDirectRTGSPaymentInstruction bridgeDirectRTGSPaymentInstruction) Submit Direct RTGS Payment ## Description Submit a request to create a new Direct RTGS Payment for the specified Participant identified by its BIC.
-
Constructor Details
-
Class14PaymentDirectRtgs1StepApi
public Class14PaymentDirectRtgs1StepApi() -
Class14PaymentDirectRtgs1StepApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
submitDirectRTGSPayment
public BridgeDirectRTGS submitDirectRTGSPayment(@Nonnull String ncb, @Nonnull BridgeDirectRTGSPaymentInstruction bridgeDirectRTGSPaymentInstruction) throws org.springframework.web.client.RestClientResponseException Submit Direct RTGS Payment ## Description Submit a request to create a new Direct RTGS 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: - DedicatedCashWalletManager - 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 Payment ## Field Mapping - \"correlationId\" = Payment Reference - \"id\" = Direct RTGS Payment Identifier - \"signature\" = Signature of Direct RTGS Payload in Base 64 format - \"signerPEM\" = Base 64 Encoded Certificate ## Field Rules - \"signature\" shall contain signature of Payload containing only \"id\", \"amount\", \"payerBank\" and \"receiverBank\" - \"correlationId\" shall contain at most 35 characters - \"id\" shall contain a UUID format ## Signing Rules: - The fields shall be concatenated as a string in the following order: 1. \"id\" 2. \"amount\" 3. \"payerBank\" 4. \"receiverBank\" - 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: - \"id\": \"22b5bb97-461c-48ef-992c-ae2257adbd79\" - \"amount\": \"10000.00\" - \"payerBank\": \"MP01FRAAXXX\" - \"receiverBank\": \"MP01DEAAXXX\" Step 1 - Concatenate the fields: The concatenated string to be hashed is: 22b5bb97-461c-48ef-992c-ae2257adbd7910000.00MP01FRAAXXXMP01DEAAXXX Step 2 - Generate the SHA256 hash: The generated hash to be signed is: 7f5066514231ac152fe3779ea8d2406126010f212b1e40ae31efc074260b610c 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: MEUCIQCXx8KT1zaFBf4ioYrYJFxm8X/HsizuXx6WbbPbHO8XtAIgJR96wirn0unXD7RvFquPVsAl6NJMFoiFkLnUsSgVCr12 Step 4 - Populate the payload: The generated signature shall be inserted into the \"signature\" of the request payload: \"signature\": \"MEUCIQCXx8KT1zaFBf4ioYrYJFxm8X/HsizuXx6WbbPbHO8XtAIgJR96wirn0unXD7RvFquPVsAl6NJMFoiFkLnUsSgVCr12\" ## Response Semantics - A successful response confirms that the new Direct RTGS Payment has been executed and completed - Possible payment statuses returned: - COMPLETED - FAILED ## Traceability - Reference Documents: - Service Description Document - Direct RTGS Payments - Section 3.5.4.b - Service Description Document - A2A Illustration - Section 3.7200 - Ok
400 - Bad Request
401 - Unauthorized
500 - Internal Server Error
- Parameters:
ncb- NCB Short NamebridgeDirectRTGSPaymentInstruction- Direct Payment Request- Returns:
- BridgeDirectRTGS
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
submitDirectRTGSPaymentWithHttpInfo
public org.springframework.http.ResponseEntity<BridgeDirectRTGS> submitDirectRTGSPaymentWithHttpInfo(@Nonnull String ncb, @Nonnull BridgeDirectRTGSPaymentInstruction bridgeDirectRTGSPaymentInstruction) throws org.springframework.web.client.RestClientResponseException Submit Direct RTGS Payment ## Description Submit a request to create a new Direct RTGS 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: - DedicatedCashWalletManager - 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 Payment ## Field Mapping - \"correlationId\" = Payment Reference - \"id\" = Direct RTGS Payment Identifier - \"signature\" = Signature of Direct RTGS Payload in Base 64 format - \"signerPEM\" = Base 64 Encoded Certificate ## Field Rules - \"signature\" shall contain signature of Payload containing only \"id\", \"amount\", \"payerBank\" and \"receiverBank\" - \"correlationId\" shall contain at most 35 characters - \"id\" shall contain a UUID format ## Signing Rules: - The fields shall be concatenated as a string in the following order: 1. \"id\" 2. \"amount\" 3. \"payerBank\" 4. \"receiverBank\" - 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: - \"id\": \"22b5bb97-461c-48ef-992c-ae2257adbd79\" - \"amount\": \"10000.00\" - \"payerBank\": \"MP01FRAAXXX\" - \"receiverBank\": \"MP01DEAAXXX\" Step 1 - Concatenate the fields: The concatenated string to be hashed is: 22b5bb97-461c-48ef-992c-ae2257adbd7910000.00MP01FRAAXXXMP01DEAAXXX Step 2 - Generate the SHA256 hash: The generated hash to be signed is: 7f5066514231ac152fe3779ea8d2406126010f212b1e40ae31efc074260b610c 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: MEUCIQCXx8KT1zaFBf4ioYrYJFxm8X/HsizuXx6WbbPbHO8XtAIgJR96wirn0unXD7RvFquPVsAl6NJMFoiFkLnUsSgVCr12 Step 4 - Populate the payload: The generated signature shall be inserted into the \"signature\" of the request payload: \"signature\": \"MEUCIQCXx8KT1zaFBf4ioYrYJFxm8X/HsizuXx6WbbPbHO8XtAIgJR96wirn0unXD7RvFquPVsAl6NJMFoiFkLnUsSgVCr12\" ## Response Semantics - A successful response confirms that the new Direct RTGS Payment has been executed and completed - Possible payment statuses returned: - COMPLETED - FAILED ## Traceability - Reference Documents: - Service Description Document - Direct RTGS Payments - Section 3.5.4.b - Service Description Document - A2A Illustration - Section 3.7200 - Ok
400 - Bad Request
401 - Unauthorized
500 - Internal Server Error
- Parameters:
ncb- NCB Short NamebridgeDirectRTGSPaymentInstruction- Direct Payment Request- Returns:
- ResponseEntity<BridgeDirectRTGS>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
submitDirectRTGSPaymentWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec submitDirectRTGSPaymentWithResponseSpec(@Nonnull String ncb, @Nonnull BridgeDirectRTGSPaymentInstruction bridgeDirectRTGSPaymentInstruction) throws org.springframework.web.client.RestClientResponseException Submit Direct RTGS Payment ## Description Submit a request to create a new Direct RTGS 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: - DedicatedCashWalletManager - 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 Payment ## Field Mapping - \"correlationId\" = Payment Reference - \"id\" = Direct RTGS Payment Identifier - \"signature\" = Signature of Direct RTGS Payload in Base 64 format - \"signerPEM\" = Base 64 Encoded Certificate ## Field Rules - \"signature\" shall contain signature of Payload containing only \"id\", \"amount\", \"payerBank\" and \"receiverBank\" - \"correlationId\" shall contain at most 35 characters - \"id\" shall contain a UUID format ## Signing Rules: - The fields shall be concatenated as a string in the following order: 1. \"id\" 2. \"amount\" 3. \"payerBank\" 4. \"receiverBank\" - 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: - \"id\": \"22b5bb97-461c-48ef-992c-ae2257adbd79\" - \"amount\": \"10000.00\" - \"payerBank\": \"MP01FRAAXXX\" - \"receiverBank\": \"MP01DEAAXXX\" Step 1 - Concatenate the fields: The concatenated string to be hashed is: 22b5bb97-461c-48ef-992c-ae2257adbd7910000.00MP01FRAAXXXMP01DEAAXXX Step 2 - Generate the SHA256 hash: The generated hash to be signed is: 7f5066514231ac152fe3779ea8d2406126010f212b1e40ae31efc074260b610c 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: MEUCIQCXx8KT1zaFBf4ioYrYJFxm8X/HsizuXx6WbbPbHO8XtAIgJR96wirn0unXD7RvFquPVsAl6NJMFoiFkLnUsSgVCr12 Step 4 - Populate the payload: The generated signature shall be inserted into the \"signature\" of the request payload: \"signature\": \"MEUCIQCXx8KT1zaFBf4ioYrYJFxm8X/HsizuXx6WbbPbHO8XtAIgJR96wirn0unXD7RvFquPVsAl6NJMFoiFkLnUsSgVCr12\" ## Response Semantics - A successful response confirms that the new Direct RTGS Payment has been executed and completed - Possible payment statuses returned: - COMPLETED - FAILED ## Traceability - Reference Documents: - Service Description Document - Direct RTGS Payments - Section 3.5.4.b - Service Description Document - A2A Illustration - Section 3.7200 - Ok
400 - Bad Request
401 - Unauthorized
500 - Internal Server Error
- Parameters:
ncb- NCB Short NamebridgeDirectRTGSPaymentInstruction- Direct Payment Request- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-