Getting Started
Environment Setup
Before you begin, make sure you have completed the Set Up Test Environment step.
| Test | https://pay-gate-uat.checus.com/aggregate-pay/api/gateway/<PATH> |
| Production | https://pay-gate-hk-prod.checus.com/aggregate-pay/api/gateway/<PATH> |
Interaction Flow

Key Interfaces
| Interaction Sequence Diagram/Related Interaction Timing | Call Direction/Direction of Call | Interface Address/API Endpoint |
|---|---|---|
| Call Payment API to place an order | Merchant -> Checus | /orderAndPay |
| Asynchronously notify the merchant of the result | Checus -> Merchant | /collectResultNotifyUrl |
| Query transaction result | Merchant -> Checus | /orderQuery |
Integration Steps
- Register a developer center account and enable the payment method.
- Configure the payment result notification callback (
notifyUrl). - Obtain merchant public key, platform public key, AppID, and other information.
- Set up the IP whitelist for the test environment.
- Understand the signature mechanism (signing and verification).
- Initiate the first payment using the Payment Creation Interface/
orderAndPay - Receive the asynchronous notification or call the Transaction Query/
orderQueryto check the payment result. - Record the returned
PaymentTokenIDfor subsequent payments.
Core Process
Create Payment
- Interface: Payment Creation Interface/orderAndPay
- Payment Method: The first payment uses the specified CARD payment method; subsequent payments can use the
PaymentTokenID
General Parameter Description
When using Token Payment, the following basic fields should be included in the Payment Creation Interface/orderAndPay request:
outTradeNo: Merchant system order number (unique)totalAmount: Amountcurrency: Currency typecountry: User's countryuserId: User identifierfrontCallbackUrl: Redirect address after payment completionnotifyUrl: Payment result notification callback (can be configured uniformly in the merchant management platform)integrate: Fixed asHosted_CheckoutexpireTime: Order closing time, in seconds. Default range:1800~86400,values outside this range will be forcibly corrected.paymentMethodType: Payment method type, fixed as "CARD"allowedCardOrg: Optional, allowed card brands, such as[ "VISA", "MASTERCARD" ],Empty means all cards are allowed.tokenForFutureUse: Optional, whether to enable Token Payment (Required for Token Payment, and the value must be "true")paymentTokenID: Payment Token, only returned after the first payment, used for subsequent payments
Response
tradeToken: Checus transaction numberredirectUrl: Returns the Cashier URL; the user needs to enter bank card information on the Checus cashier page.status: Order status (PENDING / SUCCESS)- Flow without 3DS Verification (When the user passes paymentTokenID for subsequent payments):
- The system directly returns
status=SUCCESS, along withtradeTokenandoutTradeNo。 redirectUrlwill not be returned.- The merchant can assume the payment is successful, but still needs to confirm via notification or query.
- The system directly returns
- Flow requiring 3DS Verification (When the user makes the first payment with tokenForFutureUse as true OR passes paymentTokenID for subsequent payments):
- The system returns
status=PENDINGandredirectUrl. - The merchant redirects the user to the Checus Cashier page.
- After the user completes verification, Checus updates the order status to success.
- The merchant confirms the final result via callback or query.
- The system returns
Key Tips:
- Do not rely solely on the status returned by the Payment Creation Interface / orderAndPay to update your local order.
- For Cashier Payment Integration,
tradeToken,outTradeNoandredirectUrlare always returned.
Get Payment Result
Please refer to Payment Result Integration.
Pay Using PaymentTokenID
- Subsequent payments do not require card information; direct deduction can be completed by simply passing
userId+PaymentTokenIDin the Payment Creation Interface /orderAndPay .
PaymentTokenID Query
Merchants can use the PaymentTokenID Query/inquirePaymentToken interface to query all PaymentTokenIDs bound to a specific user.
Call Direction: Merchant → Checus
Interface Address:
/inquirePaymentTokenKey Request Fields:
userId: User identifiertokenScope: Fixed value "tokenAcq"paymentMethodType: Payment method type (Optional)cardOrg: Card brand (Optional whenpaymentMethodTypeis CARD)paymentTokenID: Specify a particular Token to query (Optional)
PaymentTokenID Unbinding
When a user wishes to remove a bound Token, the merchant can use the paymentTokenID Unbinding/removePaymentToken interface to delete the Token. Once unbound, the Token can no longer be used for payment.
Call Direction: Merchant → Checus
Interface Address:
/removePaymentTokenKey Request Fields:
userId: User identifierpaymentTokenID: The Token to be unboundremoveReason: Reason for unbinding



