跳转到主要内容
POST
/
api
/
webhooks
/
bridge
/
{providerKey}
接收 provider webhook
curl --request POST \
  --url https://api.example.com/api/webhooks/bridge/{providerKey} \
  --header 'Content-Type: application/json' \
  --data '
{
  "orderId": "bridge_20260511_0001",
  "providerOrderId": "across_789",
  "status": "completed",
  "sourceTxHash": "0x123",
  "destinationTxHash": "0x456"
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "accepted": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txt

Use this file to discover all available pages before exploring further.

路径参数

providerKey
string
必填

provider 标识。

示例:

"across"

请求体

application/json

provider 原始 webhook 载荷,经适配层校验后处理。

响应

200 - application/json

成功接收 webhook

统一响应包裹结构。

code
integer
必填

业务状态码,0 表示成功。

示例:

0

msg
string
必填

可读返回消息。

示例:

"ok"

data
object

webhook 接收结果。