Swagger API documentation: https://stage-evc.payex.com/payment-api/swagger-ui.html
Overview
This API is a gateway for receiving payments through our system. It's ment to simplify external integration between different domains such as credit cards, prepaid cards, and value codes.
HMAC
The API also requires authentication to be present in a request. HMAC is implemented using SHA-512 secure hash algorithm.
See test client for more information and usage.
Test clients:
Requirements for test client:
- Java 11
- VueJS
- Maven
- Postgres
Project structure:
vas-payment-api-client
├─┬ backend → backend module with Spring Boot code
│ ├── src
│ └── pom.xml
├─┬ frontend → frontend module with Vue.js code
│ ├── src
│ └── pom.xml
└── pom.xml → Maven parent pom managing both modules
├─┬ backend → backend module with Spring Boot code
│ ├── src
│ └── pom.xml
├─┬ frontend → frontend module with Vue.js code
│ ├── src
│ └── pom.xml
└── pom.xml → Maven parent pom managing both modules
Security:
The API is secured with OAuth2 and HMAC.
Versioning:
mvn versions:set -DgenerateBackupPoms=false
Updating maven wrapper:
mvn -N io.takari:maven:wrapper
To check for property-linked updates:
mvn versions:display-property-updates
Build docker image:
mvn versions:set -DgenerateBackupPoms=false
Deploy docker image:
docker-compose up -d
Testing application