- Spring Boot 1.5.2
- Java 8 JDK
- Kotlin 1.3
- Gradle 3.5
git clone git@github.com:PaycomUZ/paycom-integration-java-template.git
Edit your properties \src\main\resources\application.yaml
Please edit password in field: password
security:
user:
name: Paycom
password: YourCashBoxKeyHere
gradle bootRun
curl -H "Content-Type:application/json" -d '{"id":"1", "jsonrpc":"2.0", "method":"CheckPerformTransaction","params":{"amount":50000, "account":{"order":100}}}' http://yourHost:8080/api
Paycom test tool - Merchant Test
You can also run tests from MerchantApplicationTests.kt
In this sample we are used in-memory H2 database for example. In real production app you must use permanent storage