For the complete documentation index, see llms.txt. This page is also available as Markdown.

支払い作成

ヒント (TIP)

まず代行支払いを開始します。

インターフェースアドレス (Interface address)

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

Interface parameters

名前
場所
タイプ
必須
説明

app_id

body

string

はい

アプリケーションID、例の値:8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd

mch_id

body

string

はい

加盟店ID、例の値:12345678

description

body

string

いいえ

説明、例の値:1234567890

out_trade_no

body

string

いいえ

加盟店注文番号(out_trade_notransaction_id の少なくとも1つを渡す)

amount

body

string

はい

支払い金額

chain

body

string

はい

所属パブリックチェーン、例の値:TRONETHEREUMBSCサポートされているパブリックチェーンを表示

currency

body

string

はい

通貨、例の値:TRXUSDTETHサポートされている通貨を表示

to_address

body

string

はい

受取アドレス

attach

body

string

いいえ

カスタムパラメータ。クエリAPIおよび支払い通知でそのまま返され、カスタムパラメータとして使用できます。実際には、支払いが完了した場合にのみこのフィールドが返されます。

notify_url

body

string

いいえ

コールバックURL、例の値:https://xxx/xxxhttpsの使用を推奨

ヒント (TIP)

app_id は加盟店管理画面からアプリを作成することで取得できます。

Interface return

名前
タイプ
必須
説明

code

integer

はい

msg

string

はい

ステータス説明

request_id

string

はい

戻り値の例 (Return example)

コード例 (Example code)

最終更新