Payment Components is known for the Financial Messaging Solutions it provides for over 30 years.
Our latest product group FINaplo, contains many Financial Messaging Libraries
which are written in Java.
The libraries can be integrated smoothly in a Java Application but other types of projects were not compatible.
In order to help developers of other Programming Languages worlds, we prepared this standalone REST API wrapper for MT, SEPA, MX(ISO20022), CBPR+, TARGET2(RTGS) and MT-MX Translation libraries.
It's a simple java web application written in spring boot. You can start it by running the following command java -jar rest-sdk-wrapper-X.X.X.jar or
you can run it inside a docker container using the following instructions:
- Create a folder named
rest-sdk-wrapper - Copy the jar inside this folder
- Create a file named
Dockerfileor use this one - Run the following command to build the docker container
docker build -t paymentcomponents/rest-sdk-wrapper . - Run the following command to run the docker
container
docker run -p 8089:8080 -n rest-sdk-wrapper paymentcomponents/rest-sdk-wrapper
It has a dependency to
- MT SDK
- SEPA SDK
- ISO20022 SDK
- MT <> CBPR+ TRANSLATION SDK
- MT <> TARGET2 TRANSLATION SDK
By default REST SDK Wrapper is using demo versions of the above SDKs. With the demo versions of the above SDKs you can do the following :
- Parse and validate an
MT101using the/mt/validateor the/mt/parseendpoints - Parse and validate a SEPA
PACS.002.001.03using the/sepa/validateendpoint - Parse and validate an ISO20022
PACS.009.001.04using the/mx/validateendpoint - Parse and validate a CBPR+
PACS.009.001.08using the/cbpr/validateendpoint - Parse and validate an RTGS
PACS.009.001.08using the/rtgs/validateendpoint - Translate an ISO20022
PACS.009.001.08.COREtoMT202forCBPR+using the/translator/cbpr/mx/to/mtendpoint - Translate an
MT202to ISO20022PACS.009.001.08.COREforCBPR+using the/translator/cbpr/mt/to/mxendpoint - Translate an ISO20022
PACS.009.001.08toMT202forRTGSusing the/translator/rtgs/mx/to/mtendpoint - Translate an
MT202to ISO20022PACS.009.001.08forRTGSusing the/translator/rtgs/mt/to/mxendpoint
- Parse an MT message
- Validate an MT message
- Construct an MT103 from JSON
- Construct general MT message from JSON
- Create Universal Confirmation for MT103
- Validate a SEPA message and return it as JSON
- Create Payment Return for a pacs.008
- Create Cancellation Request for a pacs.008
- Create Resolution Of Investigation for a pacs.008
- Validate an MX message and return it as JSON
- Translate an MT Message to the equivalent MX
- Translate an MX Message to the equivalent MT
- Validate a CBPR+ message
- Envelope a CBPR+ message inside a RequestPayload for FINplus service
- Validate a TARGET2 message and return it as JSON
After following the steps described in Installation, the app should run, by default, in the 8080 port.
A Swagger UI is available in {HOST}:{POST}/swagger-ui.html
A Swagger json is available in {HOST}:{POST}/v3/api-docs/All%20APIs
You can import it in Postman and try the APIs
In every request, a log-id is created and you can track your request with this.
You can obtain the log-id from the Response Headers.