User withdrawal → Call the brand owner's recharge interface (this interface needs your company's technical implementation) → The brand owner calls our interface to set the withdrawal record as approved and recharge the user.
https://Brand Owner Domain?user_id=Brand owner user ID&money=Withdrawal money &withdrawal_id=1&secret=xxxx
| Field | Instructions |
|---|---|
| user_id | Brand Owner User ID |
| money | Money withdrawn by user |
| withdrawal_id | Withdrawal ID of our system |
| secret | Authorization code (secret) generation method: hash("sha256", user ID+money (reserve two decimal places)+withdrawal_id+key) |
1. Pay attention to the money parameter, you need to ensure that the money parameter retains two decimal places to prevent the two parties from encrypting inconsistently: Example: money=100.00
2. The key is the return key
3. In the json field successfully returned, if the code is equal to 200, it means success
{
"data": {},
"msg": "",
"code": 200
}| Request Method | Request Address |
|---|---|
| GET | https://api.partnershare.net/partner/notify/withdrawal-check |
Parameter
| Parameter Name | Required Fields | Instructions |
|---|---|---|
| user_id | yes | Brand Owner User ID |
| money | yes | Product ID provided by us |
| withdrawal_id | yes | Invitation code |
| status | yes | 1 withdrawal successful 2 failed |
| secret | yes | Authorization code (secret) generation method: hash("sha256", user ID+money (reserve two decimal places)+withdrawal_id+key) |
Successful example:
{
"data": {},
"msg": "",
"code": 200
}code description:
200; // Success
1002; // Parameter transmission error
6001; // Money withdrawal record doesn't exist
6002; // Failed visa check
6003; // Repeat audit