Wallet deletion

TIP

Delete the wallet in monitor mode.

Interface address

POST https://api.tokenpay.me/v1/wallet/delete

Interface parameters

Name
Location
Type
Required
Description

app_id

header

string

Yes

Application ID, example value: 8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd.

mch_id

body

string

Yes

Merchant ID, example value: 1234567890.

wallet_address

body

string

No

Wallet address, example value: TQjxEW2Z3pxxxxxxxxxxxxgJUrWXVAC92T.

chain

body

string

Yes

Chain, example value:TRON

Parameters example

{
  "mch_id": "1234567890",
  "app_id": "8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd",
  "wallet_address": "TQjxEW2Z3pxxxxxxxxxxxxgJUrWXVAC92T",
  "chain": "TRON",
}

Interface return

Name
Type
Description
Description

code

integer

msg

string

State description

request_id

string

Request ID

Return example

{
    "code": 0,
    "msg": "success",
    "request_id": "b5506db8-fe9b-4ea6-bbc9-4497e70c03b6",
}

Example code

curl --location --request POST 'https://api.tokenpay.me/v1/wallet/delete' \
--header 'Authorization: <Authorization>' \
--header 'User-Agent: tokenpay API (https://tokenpay.me)' \
--header 'Content-Type: application/json' \
--data-raw '<body data here>'

Last updated