Create Payout

TIP

Initiate paying on your behalf first.

Interface address

POST https://api.tokenpay.me/v1/payanother/payment

Interface parameters

Name
Location
Type
Required
Description

app_id

body

string

Yes

Application ID, example value: 8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd

mch_id

body

string

Yes

Merchant ID, example value: 12345678

description

body

string

No

Description, example value: 1234567890

out_trade_no

body

string

No

Merchant order number(out_trade_no and transaction_id pass at least one)

amount

body

string

Yes

Payout amount

chain

body

string

Yes

Owned public chain, example value: TRONETHEREUMBSC. View supported public chains

currency

body

string

Yes

Currency, example value: TRXUSDTETH. View supported currencies

to_address

body

string

Yes

Collection address

attach

body

string

No

Custom parameter. It returns as-is in the query API and payment notifications and can be used as a custom parameter. In practice, this field is returned only when the payment is complete.

notify_url

body

string

No

Callback url, example value: https://xxx/xxx, suggest using https

TIP

app_id through the merchant backstage creating an application to obtain.

Interface return

Name
Time
Required
Description

code

integer

true

msg

string

true

Statements

request_id

string

true

Example retrun

Example code

Last updated