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.
Required version: node v10.19.0 or later (npm v6.13.4 or later)
- Commands
- $ npm install
- $ npm start
Configure CYBAVO API server URL in mockserver.conf.json
"api_server_url": "BACKEND_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 /callback handler in mock server wallets.js
Refer to here for curl testing commands.