Select a network or provider
https://pay.example.com/pay/switch-networkSend the parent trade_id, token and network in the JSON body. The parent must be pending (status 1 or 4). Read the returned address or hosted payment URL.
JSON body
| Required field | Type | Example |
|---|---|---|
trade_id | string | 20260523171652123456001 |
token | string | USDT |
network | string | tron |
Related resources
Responses
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
dataobjectResponse payload; null on error.
trade_idstringamountnumberactual_amountnumbertokenstringcurrencystringnetworkstringstatusintegerexpiration_timeintegeris_selectedboolean
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.