API Call Process
The overall process of API calls is as follows:

Step1
The merchant calls the createPayOrderWithApiKey interface to create an order. HashNut returns order information including the payment address, token contract address, token type, and amount. After receiving the reply, the merchant redirects to the payment page.
Step2
The user clicks the pay button on the payment page, paying the specified amount of tokens to the payment address. The blockchain returns the TxId to the user. The user then calls the confirmPayOrderPaid interface to submit the TxId, and is redirected to the previously configured CallBackUrl.
Step3
After the blockchain confirms the transaction success, it notifies HashNut of the successful transaction. HashNut then notifies the merchant through the NotifyUrl that the order is successful.
Step4
After receiving the notification from HashNut, the merchant calls the queryPayOrderWithAccessSign interface to query the order status. If the order is successful, it redirects to the payment success page.