列出账户钱包
钱包列表将返回符合请求中发送的查询参数的所有账户票据钱包。
Request
ENDPOINT
/account/ACCOUNT_KEY/requester_profilesMÉTODO
GETPath parameters
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_key | uuidv4 | 账户唯一标识键,uuid v4 格式 | 36 |
Query parameters
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
request_control_key | uuidv4 | 请求唯一标识键,uuid v4 格式 | 36 |
requester_profile_key | uuidv4 | 票据钱包唯一标识键,uuid v4 格式 | 36 |
requester_profile_code | string | 钱包唯一识别码 | 19 |
page | integer | 页码 | - |
page_size | integer | 每页大小 | - |
Response
STATUS
200Response Body
{
"data": [
{
"requester_profile_key": "fd86d9b1-2a5e-4e03-9a59-a043c7632c97",
"requester_profile_code": "329-04-2338-2625918",
"request_control_key": "0868a24b-4a69-4138-ac4d-ecaeddf0005f",
"account_key": "0494902f-b21c-4ae6-b37e-854cfe883402",
"requester_profile_status": "pending",
"configuration_data": {
"max_payment_days": 1,
"protest_settings": {
"days_to_protest": 0
},
"bankruptcy_protest_settings": {
"days_to_bankruptcy_protest": 0
},
"write_off_settings": {
"days_to_write_off": 0
},
"fine_settings": {
"fine_type": "absolute",
"fine_amount": 10,
"days_to_fine": 0
},
"interest_settings": {
"interest_type": "workdays_daily_amount",
"interest_amount": 10,
"days_to_interest": 0
},
"qr_code_settings": {
"pix_key": "5df7a433-bd61-4f98-9515-df9aedc2980c",
"qr_code_on_discharge_enabled": false
},
"cnab_settings": {
"default_bank": "qi_scd",
"preferred_layout": "400"
}
}
}
],
"pagination": {
"current_page": 1,
"rows_per_page": 100
}
}
Response Body Parameters
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
data * | object array | 票据钱包列表 | Objeto requester_profile |
pagination * | object | 分页信息 | Objeto pagination |
Objeto requester_profile
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
requester_profile_key * | uuidv4 | 钱包唯一标识键,uuid v4 格式 | 36 |
requester_profile_code * | string | 钱包唯一识别码 | 19 |
request_control_key * | uuidv4 | 客户使用的请求唯一标识键,uuid v4 格式 | 36 |
account_key * | uuidv4 | 账户唯一标识键,uuid v4 格式 | 36 |
requester_profile_status * | string | 钱包状态 | Enumeradores requester_profile_status |
configuration_data * | object | 钱包默认配置 | Objeto configuration_data |
Enumeradores requester_profile_status
| 枚举值 | 描述 |
|---|---|
| pending | 钱包已接受,等待确认 |
| opened | 钱包已开启 |
Objeto pagination
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
current_page * | integer | 当前页码 | - |
rows_per_page * | integer | 每页记录数 | - |
Objeto configuration_data
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
max_payment_days * | integer | 票据到期后可供付款的最大日历天数(最多 365 天) | - |
write_off_settings | object | 默认核销配置 | Objeto write_off_settings |
protest_settings | object | 默认抗议配置 | Objeto protest_settings |
bankruptcy_protest_settings | object | 默认破产抗议配置 | Objeto bankruptcy_protest_settings |
fine_settings | object | 默认罚款配置 | Objeto fine_setings |
interest_settings | object | 默认利息配置 | Objeto interest_settings |
qr_code_settings | object | PIX QR Code 默认配置(用于 bolePix) | Objeto qr_code_settings |
cnab_settings | object | CNAB 文件默认配置 | Objeto cnab_settings |
Objeto write_off_settings
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
days_to_write_off * | integer | 到期后自动核销票据的天数 | - |
Objeto protest_settings
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
days_to_protest * | integer | 到期后自动抗议票据 的天数 | - |
Objeto bankruptcy_protest_settings
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
days_to_bankruptcy_protest * | integer | 到期后自动启动破产抗议流程的天数 | - |
Objeto fine_settings
选项 1:绝对值罚款(fine_type=absolute)
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
fine_type * | string | 罚款类型 | Enumeradores fine_type |
fine_amount * | float | 罚款绝对值 | - |
days_to_fine * | integer | 到期后开始收取罚款的天数 | - |
fine_type=percentage)
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
fine_type * | string | 罚款类型 | Enumeradores fine_type |
fine_percentage * | integer | 罚款百分比值,1 到 100 | - |
days_to_fine * | integer | 到期后开始收取罚款的天数 | - |
Enumeradores fine_type
| 枚举值 | 描述 |
|---|---|
| absolute | 绝对值 |
| percentage | 百分比值 |
Objeto interest_settings
选项 1:使用绝对值利息(interest_type=calendar_days_daily_amount 或 interest_type=workdays_daily_amount)
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
interest_type * | string | 利息类型 | Enumeradores interest_type |
interest_amount * | float | 按指定时间单位(工作日或日历日)收取的金额 | - |
days_to_interest * | integer | 到期后开始收取利息的天数 | - |
interest_type=calendar_days_monthly_percentage)
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
interest_type * | string | 利息类型 | Enumeradores interest_type |
interest_percentage * | integer | 按指定时间单位(工作日或日 历日)收取的百分比 | - |
days_to_interest * | integer | 到期后开始收取利息的天数 | - |
Enumeradores interest_type
| 枚举值 | 描述 |
|---|---|
| calendar_days_daily_amount | 基于日历日的每日金额 |
| workdays_daily_amount | 基于工作日的每日金额 |
| calendar_days_monthly_percentage | 基于日历日按月收取的利息百分比 |
Objeto qr_code_settings
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
pix_key * | uuidv4 | 随机类型的 PIX 密钥 | 36 |
qr_code_on_discharge_enabled * | boolean | 确定 QR Code 信息是否包含在退款文件(CNAB)中 | - |
Objeto cnab_settings
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
default_bank | string | 处理 CNAB 文件的默认银行布局 | Enumeradores default_bank |
preferred_layout | string | CNAB 文件首选布局 | Enumeradores preferred_layout |
Enumeradores default_bank
| 枚举值 | 描述 |
|---|---|
| santander | Banco Santander |
| itau | Banco Itaú |
| bradesco | Banco Bradesco |
| qi_scd | QI SCD |
Enumeradores preferred_layout
| 枚举值 | 描述 |
|---|---|
| 400 | CNAB 400 布局 |
| 240 | CNAB 240 布局 |
Error Response
STATUS
4xxResponse Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP 状态码status | QI 代码code | 标题title | 描述(英文)description | 描述(葡文)translation |
|---|---|---|---|---|
| 400 | QIT000001 | Bad Request | Schema Error | Schema Inválido |
| 404 | BKS000006 | Not Found | The source account key was not found. | A chave da conta de origem não foi encontrada. |
| 400 | BKS000007 | Bad Request | It was not possible to consult the source account at this time. Please try again in a few minutes. | Não foi possível consultar a conta de origem neste momento. Por favor, tente novamente em alguns minutos. |
| 400 | BKS000008 | Bad Request | The source account is closed. | A conta de origem está fechada. |
| 400 | BKS000009 | Bad Request | The source account is blocked. | A conta de origem está bloqueada. |
| 400 | BKS000012 | Bad Request | Invalid integer value for page or size query string parameters. | Valor inválido para parâmetros de página ou tamanho de página. |
| 404 | BKS000013 | Not Found | Requester profile not found | Carteira não encontrada |
| 400 | BKS000025 | Bad Request | Invalid bank slip status. | Status de boleto inválido. |