Access the merchant and obtain client_id
and API URL
.
Headers add the
Content-Type
field with the valueapplication/json
; specify the request body asjson
format.
Use the private key to generate the algorithm for RS256 with a validity of 5 seconds JWT Token
.
Headers add the
token
field, with the value being the generatedJWT Token
.
In the interface return data,
code
is the status code,message
is the prompt message, anddata
is the return data.
Chain type | Description |
---|---|
1 | ETH |
56 | BSC |
195 | TRX |
137 | POLY |