Get permanent deposit address for users
Users can deposit any amount flexibly at any time.
Each App ID of the merchant can obtain 1000 addresses via the interface. If you want more addresses available, please contact customer service for depth help.
Get addresses that will not expire for users to deposit directly;
POST https://admin.ccpayment.com/ccpayment/v1/payment/address/get
Headers
Timestamp*
string
Timestamp in seconds (10-digit). The request is valid for two minutes.
Content-Type*
String
application/json; charset=utf-8
Request Body
user_id*
string
User ID, unique identification 3-64characters
notify_url
string
The URL address will be notified via a POST request when the order status changes. Ensure the URL is accessible to receive notifications from the payment platform.
Note: Each user only has one deposit address with each chain.
The deposit introduction:
The system will scan the transaction on the blockchain when it receives the notice of deposit and credit the assets to the merchant’s account after checking success. And will send the deposit success notification to the webhook URL specified by the merchant.
The address obtained from the interface only receives the token listed on CCPayment. Check the token list for details. Please do not deposit unlisted tokens to CCPayment to avoid asset loss.
Webhook notification
CCPayment will notify merchants the final transaction results. Go to Webhook Configuration Guide.
Once the merchant has processed the order, please return {http code: 200} and include a “success” string in the HTTP response body.
If CCPayment does not receive “success” as a response from the merchant, CCPayment will keep pushing the notification up to 6 times. Any response other than “success” will be regarded as a failure, and CCPayment will keep sending the notification.
Example

Last updated