通过 outgoing_recurrence_key 查询定期付款数据
请求
ENDPOINT
/account/ACCOUNT_KEY/outgoing_recurrence/OUTGOING_RECURRENCE_KEY方法
GETPath Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_key * | uuidv4 | 账户的唯一标识键。 | 36 |
outgoing_recurrence_key * | uuidv4 | 待查询的定期付款唯一键。 | 36 |
响应
STATUS
200Response Body
{
"request_control_key":"98fc62fd-b0a0-4604-9bea-475e91a9dc82",
"outgoing_recurrence_key":"8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"outgoing_recurrence_status":"approved",
"periodicity":"monthly",
"journey_type":"journey_four",
"start_date":"2025-06-10",
"end_date":"2027-06-10",
"outgoing_recurrence_data":{
"minimum_recurrence_amount":123.45,
"recurrence_amount":null,
"retry_configuration":{
"retry_allowed":true,
"retry_rule":{
"first_retry":{"day":"1","time":"14:00"},
"second_retry":{"day":"3","time":"12:00"},
"third_retry":{"day":"4","time":"15:32"}
}
},
"debtor_data":{
"name":"Sebastião",
"email":"sebastiao@test.com",
"document_number":"05431134850",
"address":{"city":"São Paulo","postal_code":"123456-789","uf":"SP","street":"Av Paulista 123"},
"account_data":{"account_number":"123456","account_digit":"7","account_branch":"0001","ispb":"31872495"}
},
"qr_code_data":{"qr_code_key":"0f45cc3d-9bd1-4d68-a865-4cf477b5da45","qr_code_url":"urlqrcode.url","qr_code_image":"image_base64"},
"initial_payment_data":{
"amount":22.34,
"pix_key":"3d7d6a2b-f72f-44z7-bb20-79a94dff5645",
"qr_code_type":"dynamic_term",
"additional_data":[{"key_name":"Juros e Multa","value":"Juros 2 ao mes e multa de 1%"}],
"fine_amount":3,"interest_amount":2,"expiration_date":"2023-03-25","max_payment_days":128,"rebate_amount":1,"discounts":[],
"receiver_conciliation_id":"3d7d6a2bf72f44z7bb2079a94dff5645",
"transaction_data":{"transaction_key":"4d7d6a2b-f72f-44z7-bb20-79a94dff5645","pix_transfer_key":"5d7d6a2b-f72f-44z7-bb20-79a94dff5645","end_to_end_id":"E32402502202303141907qlBAF1evdJ2"}
},
"pix_message":"Conta de Luz Residencial nº123",
"settlement_date_type":"calendar_days"
},
"payment_orders":[
{
"payment_order_key":"10fc62fd-b0a0-4604-9bea-475e91a9dc82",
"payment_order_status":"paid",
"reference_date":"2025-06-30",
"receiver_conciliation_id":"cac0b5f74ee240f1b2ad16902506503d",
"transaction_amount":125.53,
"transaction_key":"21fc62fd-b0a0-4604-9bea-475e91a9dc56",
"incoming_pix_transfer_key":"21fc62fd-b0a0-4604-9bea-475e91a9dc56",
"created_at":"2021-10-22T20:30:23.459Z",
"paid_at":"2023-10-22T20:30:23.459Z"
}
],
"outgoing_recurrence_events":[
{
"outgoing_recurrence_event_key":"20fc62fd-b0a0-4604-9bea-475e91a9dc82",
"outgoing_recurrence_status":"created",
"created_at":"2021-10-22T20:30:23.459Z"
}
]
}
Response Body Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
request_control_key | uuidv4 | 请求控制的唯一键。 | 36 |
outgoing_recurrence_key | uuidv4 | 自动定期付款标识符。 | 36 |
outgoing_recurrence_status | string | 定期付款的当前状态(approved、pending、rejected 等)。 | 30 |
periodicity | enumerator | 定期付款的周期。 | Enumeradores periodicity |
journey_type | enumerator | 自动定期付款的旅程类型。 | Enumeradores journey_type |
start_date | string | 定期付款开始日期(ISO 8601 格式,如 2025-06-10)。 | 10 |
end_date | string | 定期付款结束日期(ISO 8601 格式)或 null(如为无限期)。 | 10 或 null |
outgoing_recurrence_data | object | 汇集订阅参数和补充数据的对象。 | Objeto outgoing_recurrence_data |
payment_orders | array | 汇集付款订单的对象。 | Objeto payment_orders |
outgoing_recurrence_events | array | 汇集定期付款事件参数的对象。 | Objeto outgoing_recurrence_events |
Objeto outgoing_recurrence_data
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
minimum_recurrence_amount | number | 可变金额定期付款中的最低预期金额。 | - |
recurrence_amount | number | 定期付款金额(固定金额;可变时为 null)。 | - |
retry_configuration | object | 未完成定期付款的重试配置。 | Objeto retry_configuration |
debtor_data | object | 债务人(订阅者)数据。 | Objeto debtor_data |
qr_code_data | object | 为付款生成的 QR 码数据(如有)。 | Objeto qr_code_data |
initial_payment_data | object | 初始收费数据。 | Objeto initial_payment_data |
pix_message | string | 随 Pix 交易一起发送的消息。 | 140 |
settlement_date_type | enumerator | 结算日期调整类型。 | Enumeradores settlement_date_type |
Objeto retry_configuration
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
retry_allowed | boolean | 是否启用重试。 | - |
retry_rule | object | 重试的详细规则。 | Objeto retry_rule |
Objeto retry_rule
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
first_retry | object | 第 1 次重试配置。 | Objeto retry_detail |
second_retry | object | 第 2 次重试配置。 | Objeto retry_detail |
third_retry | object | 第 3 次重试配置。 | Objeto retry_detail |
Objeto retry_detail
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
day | string | 重试日期。 | - |
time | string | 重试时间。 | - |
Objeto debtor_data
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
name | string | 订阅者姓名。 | 50 |
email | string | 订阅者电子邮件。 | 100 |
document_number | string | CPF 或 CNPJ。 | 14 |
address | object | 订阅者地址。 | Objeto address |
account_data | object | 银行数据。 | Objeto account_data |
Objeto address
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
city | string | 城市。 | - |
postal_code | string | 邮政编码。 | - |
uf | string | 州(缩写)。 | - |
street | string | 街道。 | - |
Objeto account_data
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_number | string | 账户号码。 | - |
account_digit | string | 账户校验位。 | - |
account_branch | string | 支行。 | - |
ispb | string | 金融机构 ISPB。 | - |
Objeto qr_code_data
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
qr_code_key | string | 生成 QR 码的标识符。 | - |
qr_code_url | string | QR 码查看 URL。 | - |
qr_code_image | string | QR 码图像(Base64)。 | - |
Objeto initial_payment_data
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
amount | number | 初始收费的主要金额(巴西雷亚尔 R$)。 | - |
pix_key | string | 初始付款目标 Pix 键。 | 77 |
qr_code_type | enum | 初始收费的 QR 码类型。 | Enumeradores qr_code_type |
additional_data | array | 与收费相关的附加信息列表。 | Array de objects additional_data |
fine_amount | number | 付款逾期时的罚款金额。 | - |
interest_amount | number | 付款逾期时的利息金额。 | - |
expiration_date | string | 初始收费到期日期(ISO 8601 格式)。 | 10 |
max_payment_days | integer | 到期后的最大受理天数。 | - |
rebate_amount | number | 提前付款折扣金额。 | - |
discounts | array | 附加折扣列表。 | - |
receiver_conciliation_id | string | 接收方付款对账标识符。 | 35 |
transaction_data | object | 与初始收费相关的交易详情。 | Objeto transaction_data |
Array additional_data
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
key_name | string | 附加信息名称(如"Juros e Multa")。 | 140 |
value | string | 附加信息的值或描述。 | 140 |
Objeto transaction_data
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
transaction_key | string | 交易唯一键。 | 36 |
pix_transfer_key | string | Pix 转账标识符。 | 36 |
end_to_end_id | string | Pix 端到端标识符。 | 32 |
Objeto payment_orders
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
payment_order_key | string | 付款订单的唯一标识键。 | 32 |
payment_order_status | string | 付款订单状态。 | - |
reference_date | string | 收费参考日期。 | - |
receiver_conciliation_id | uuidv4 | 接收方对账 ID。 | 35 |
transaction_amount | number | 交易的货币金额。 | - |
transaction_key | uuidv4 | 交易 唯一键。 | 36 |
incoming_pix_transfer_key | uuidv4 | 收到的 Pix 转账键。 | 36 |
created_at | string | 订单创建日期/时间(ISO 8601 格式)。 | - |
paid_at | string | 付款日期/时间(ISO 8601 格式)。 | - |
Objeto outgoing_recurrence_events
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
outgoing_recurrence_event_key | string | 定期付款事件的唯一标识键。 | 36 |
outgoing_recurrence_status | string | 定期付款状态。 | - |
created_at | string | 订单创建日期/时间(ISO 8601 格式)。 | - |
Enumeradores periodicity
| 枚举值 | 描述 |
|---|---|
weekly | 每周定期 |
monthly | 每月定期 |
quarterly | 每季定期 |
semiannual | 每半年定期 |
annual | 每年定期 |
Enumeradores journey_type
| 枚举值 | 描述 |
|---|---|
journey_one | 银行应用内直接通知 |
journey_two | 定期收费的 QR 码体验 |
journey_three | 即时付款 + QR 码定期付款 |
journey_four | Pix 操作后的定期授权 |
Enumeradores settlement_date_type
| 枚举值 | 描述 |
|---|---|
workdays | 工作日 |
calendar_days | 日历天数 |
Enumeradores qr_code_type
| 枚举值 | 描述 |
|---|---|
dynamic_instant | 即时付款动态 QR 码 |
dynamic_term | 未来到期付款动态 QR 码 |
STATUS
4XX Response Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em português",
"code": "codigo"
}
| HTTP 状态码 | QI 代码code | 标题title | 描述(英文)description | 描述(葡文)translation |
|---|---|---|---|---|
| 400 | QIT000002 | Bad Request | Invalid request schema. | Erro no esquema da requisição. |
| 404 | APX000002 | Recurrence Not Found | Recurrence {recurrence_key} not found. | Recorrência {recurrence_key} não encontrada. |