Refer to here for detailed introduction.
Refer to here for detailed API documentation.
Refer to here for detailed API documentation.
Refer to here for detailed API documentation.
- ./mvnw spring-boot:run
Set following configuration in config/application.properties
api.server.url=
- Get API code/secret on web console
- API-CODE, API-SECRET, WALLET-ID
- Put API code/secret to mock server's database
curl -X POST -H "Content-Type: application/json" -d '{"api_code":"API-CODE","api_secret":"API-SECRET"}' \
http://localhost:8889/v1/mock/wallets/{WALLET-ID}/apitoken
Operate on web admin console
Notification Callback URL
http://localhost:8889/v1/mock/wallets/callback
Withdrawal Authentication Callback URL
http://localhost:8889/v1/mock/wallets/withdrawal/callback
The withdrawal authentication callback URL once set, every withrawal request will callback this URL to get authentication to proceed withdrawal request.
Refer to withdrawalCallback() function in mock server MockController.java
Refer to here for curl testing commands.