跳转到主要内容
WEBHOOK
Yuno 会将转入转账通知发送到您位于 {merchant_base_URL}/v1/banking/transfers 的 endpoint。您的 endpoint 必须返回 200 OK 响应,并附带 {"received": true}。银行 webhook 的商户基础 URL 由 Yuno 根据请求设置,因此请联系您的 Yuno 对接人进行注册或更改。 通知包含付款人详细信息、转账金额、支付通道和状态。对于 5xx 响应和超时,Yuno 会以指数退避方式重试。 有关银行连接 webhook 事件类型的完整列表,请参阅 Webhook 事件。

授权

public-api-key
string
header
必填

Public API key from Dashboard > Settings > API Keys

private-secret-key
string
header
必填

Private secret key (server-side only)

请求体

application/json
id
string

The unique identifier of the transfer (UUID, 36 characters).

示例:

"cc0e8400-e29b-41d4-a716-446655440000"

destination_account_id
string

The id of the destination Banking Connectivity account that received the incoming transfer.

示例:

"aa0e8400-e29b-41d4-a716-446655440000"

account_id
string

The merchant's Yuno account identifier.

示例:

"550e8400-e29b-41d4-a716-446655440000"

provider
object

Provider-side identifiers.

status
enum<string>

The transfer status.

可用选项:
PENDING,
COMPLETED
示例:

"COMPLETED"

transfer_type
enum<string>

The transfer type. Incoming transfer webhooks always have INCOMING.

可用选项:
INCOMING
示例:

"INCOMING"

sender
object

Information about the external sender.

amount
object

The transfer amount.

payment_rail
enum<string>

The payment rail used for the transfer.

可用选项:
ACH_STANDARD,
ACH_SAME_DAY,
WIRE,
RTP,
FPS,
CHAPS,
BACS,
NPP,
PAYTO,
BPAY
示例:

"ACH_STANDARD"

description
string

The transfer description.

示例:

"Payment for services"

created_at
string

The timestamp when the transfer was created (ISO 8601).

示例:

"2026-02-01T14:30:00Z"

updated_at
string

The timestamp when the transfer was last updated (ISO 8601).

示例:

"2026-02-01T14:30:00Z"

响应

200 - application/json