Update
權限限制: Token Authencation. Token 可以經由
/api/auth/token取得
需求描述
更新付款資料
以下是資料型別限制:
tx_id 使用正則表達式 '^0x[0-9a-fA-F]{64}$' 驗證
chain_type Only accept either same_chain or cross_chain.
Method
PATCH
Endpoint
/api/transaction/{transaction_id}/
Request Header
{
"Authorization": "Bearer {token}"
}
Request Body
{
"tx_id": "Bearer {token}",
"chain_type": "same_chain|cross_chain"
}