创建定期付款
请求
ENDPOINT
/account/ACCOUNT_KEY/incoming_recurrence方法
POST请求 Path Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_key * | uuid4 | 账户的唯一标识键。 | 36 |
Request Body
Request Body: 创建固定金额定期付款
{
"request_control_key": "01585acf-b0c3-4389-baf3-a58abbe92d58",
"end_to_end_id": "E73856642202309201429bZKfklNlbwu",
"periodicity": "monthly",
"journey_type": "journey_one",
"start_date": "2025-04-01",
"end_date": "2027-04-01",
"target_pix_key": "pix_key@test.bcb.com",
"pix_message": "Informação do pagamento",
"is_retry_allowed": true,
"transaction_amount": 150.04
}
Request Body: 创建可变金额定期付款
{
"request_control_key": "12385acf-b0c3-4389-baf3-a58abbe92d58",
"end_to_end_id": "E73856642202309201429bZKfklNlbwu",
"periodicity": "monthly",
"journey_type": "journey_one",
"start_date": "2025-07-01",
"end_date": null,
"target_pix_key": "pix_key@test.bcb.com",
"pix_message": "Pagamento da conta de energia elétrica",
"is_retry_allowed": true,
"minimum_transaction_amount": 50.00,
"maximum_transaction_amount": 300.00
}
Body Params
| 字段 | 类型 | 描 述 | 字符数 |
|---|---|---|---|
request_control_key * | uuid | 客户端使用的 uuid4 格式请求唯一标识键。 | 36 |
periodicity * | enumerator | 与付款关联的周期类型。 | Enumeradores periodicity |
journey_type * | enumerator | 请求旅程类型。 | Enumeradores journey_type |
start_date * | string | 定期付款开始日期。 | - |
end_to_end_id * | string | SPI(即时支付系统)内 Pix 交易的幂等键。该键在 Pix 键查询中返回。 | 32 |
target_pix_key | string | 接收交易的账户 Pix 键。 | 100 |
target_account | Object | 目标账户 - 仅用于手动转账。 | Objeto target_account |
transaction_amount | number | 固定金额定期付款的转账金额。 | 10 |
minimum_transaction_amount | number | 可变金额定期付款的最低转账金额。 | 10 |
maximum_transaction_amount | number | 可变金额定期付款的最高转账金额。 | 10 |
end_date | string | 定期付款结束日期,对于无限期情况发送 null。 | - |
pix_message | string | 随 Pix 转账一起发送的消息。 | 140 |
is_retry_allowed | boolean | 是否允许 Pix 交易重试。 | - |
Enumeradores periodicity
| 枚举值 | 描述 |
|---|---|
weekly | 每周定期 |
monthly | 每月定期 |
quarterly | 每季定期 |
semiannual | 每半年定期 |
annual | 每年定期 |
Enumeradores journey_type
| 枚举值 | 描述 |
|---|---|
journey_one | 通过应用内通知申请授权 |
journey_two | 通过扫描 QR 码申请授权 |
journey_three | 通过扫描 QR 码进行即时 Pix 付款来授权定期付款 |
journey_four | 付款或调度 Pix 后依次申请定期付款授权 |
Objeto target_account
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_branch | string | 账户支行。 | 6 |
account_digit | string | 账户校验位。 | 1 |
account_number | string | 账户号码。 | 20 |
owner_document_number | string |