Quickstart
Complete one test collection and verify the callback. Endpoint pages are the source of truth for fields. For merchant data security, we strongly recommend keeping your appSecret on the server and signing or verifying there.
1. Prepare a test merchant
- Register a test merchant in the test dashboard.
- Obtain a test
appIdandappSecret. - Configure a TRC or ERC receiving address and the corresponding asset type (USDT / USDC) in the dashboard.
- Prepare a publicly reachable
notifyUrl.
Test gateway:
https://api-beta.ucashier.ink2. Sign on your server
Signing rules and examples: Signing.
3. Create one collection order
Call /api/public/order/apply to create a collection order. Request fields and the response are on Submit order.
4. Open the cashier and pay
Show the user the full cashier page from the returned payUrl. The user must pay the amount displayed on the page.
5. Verify the webhook
Recompute the signature from the callback fields required by the platform and verify it matches.