账户开立 Webhooks
提交账户预留请求后,初始状态为 pending_bacen_validation。通过 后,预留状态更新为 pending_kyc_analysis。随后,通过 KYC 后,状态变为 pending_additional_data。
对于 pending_kyc_analysis、pending_additional_data 和 rejected 状态,系统发送 account_request.status_change 类型的 webhook,此事件对于控制确认账户开立所需后续操作至关重要。
账户号码将在提交预留申请时预留,但此时账户尚未开立。只有在 QI Tech 完成 KYC 分析并经合作伙伴后续确认后,账户才算正式开立。
account_request_status 枚举值
| 枚举值 | 描述 |
|---|---|
| pending_kyc_analysis | 待 KYC 批准 |
| pending_additional_data | 待补充信息 |
| rejected | 开立被拒绝 |
KYC 分析待处理 Webhook
WEBHOOK_TYPE
account_request.status_changeSTATUS
pending_kyc_analysisWebhook Body
{
"data": {
"account_info": {
"account_digit": "3",
"account_branch": "0001",
"account_number": "1638634"
},
"account_request_key": "dc575950-dcce-48e1-99a6-5fb0ada63d86",
"status": "pending_kyc_analysis"
},
"event_datetime": "2022-09-02 22:39:39",
"key": "dc575950-dcce-48e1-99a6-5fb0ada63d86",
"status": "pending_kyc_analysis",
"webhook_type": "account_request.status_change"
}
账户确认待处理 Webhook
WEBHOOK_TYPE
account_request.status_changeSTATUS
pending_additional_dataWebhook Body
{
"key": "dc575950-dcce-48e1-99a6-5fb0ada63d86",
"data": {
"account_info": {
"account_digit": "3",
"account_branch": "0001",
"account_number": "1638634"
},
"account_request_key": "dc575950-dcce-48e1-99a6-5fb0ada63d86"
},
"event_datetime": "2022-09-02 22:39:39",
"status": "pending_additional_data",
"webhook_type": "account_request.status_change"
}
账户被拒绝 Webhook(企业)
WEBHOOK_TYPE
account_request.status_changeSTATUS
account_rejectedWebhook Body
{
"data": {
"account_info": {
"account_digit": "2",
"account_branch": "0001",
"account_number": "2359934",
"financial_institution_code": "329"
},
"allowed_user": {
"name": "Juliana Tereza Bernardes",
"document_number": "97564480084"
},
"account_owner": {
"name": "VOVO LUCIA CONVENIENCIA LTDA",
"document_number": "09080702000105"
}
},
"event_datetime": "2022-09-02 22:39:39",
"key": "dc575950-dcce-48e1-99a6-5fb0ada63d86",
"status": "account_rejected",
"webhook_type": "account"
}
账户被拒绝 Webhook(个人)
WEBHOOK_TYPE
account_request.status_changeSTATUS
account_rejectedWebhook Body
{
"key":"84864614-2860-4b78-bd44-77b961354014",
"data":{
"account_info":{
"account_key":"1435dbavf-2860-4b78-bd44-77b961354014",
"account_digit":"5",
"account_branch":"0001",
"account_number":"3998360",
"financial_institution_code":"329"
},
"account_owner":{
"name":"Pedro Pinho",
"document_number":"97634408077"
}
},
"status":"account_rejected",
"webhook_type":"account",
"event_datetime":"2024-01-09 14:35:46"
}