Agent

Get agent info

GET https://<API ENDPOINT>/agent/info

Get agent info

Headers

Name
Value

Content-Type

application/json

x-appid

<App ID>

x-signature

<Signature> (see quick start)

Body

Response

{
  "code": 0,
  "data": {
    "agentName": "888",
    "callback": {
      "deposit": "",
      "withdraw": "",
    },
    "rateFee": {
      "deposit": 2.0,
      "deposit": 0.0
    }
  }
}

Update agent callback

PUT https://<API ENDPOINT>/agent/callback

To change agent callback

Headers

Name
Value

Content-Type

application/json

x-appid

<App ID>

x-signature

<Signature> (see quick start)

Body

Name
Type
Description

deposit_callback

string

callback that will be call when deposit status changed

withdraw_callback

string

callback that will be call when withdraw status changed

Response

{
  "code": 0,
  "message": "Update callback successfully",
}

Last updated