跳到主要内容

查询授权列表

Request

ENDPOINT
/prepaid/card/(card_key)/authorizations
MÉTODO
GET
PARÂMETROS
from_date, to_date, size, page

查询参数

字段类型描述
sizeint返回的记录数量,默认值为 10。
pageint查询的页码,默认值为 0。
from_datestring查询的开始日期(格式:YYYY-MM-DD)。
to_datestring查询的结束日期(格式:YYYY-MM-DD)。

Response

STATUS
200
Response Body
{
"pagination": {
"current_page": 1,
"rows_per_page": 10,
"next_page": 2
},
"data": [
{
"authorization_key": "cccbd9e9-863f-44b5-aa05-f6afa555bb74",
"merchant_currency_code": "BRL",
"original_merchant_amount": 25.32,
"billing_currency_code": "BRL",
"original_billing_amount": 25.32,
"merchant_amount": 25.32,
"iof_amount": 0,
"billing_amount": 25.32,
"processing_datetime": "2023-07-24T12:00:00.000Z",
"captured_amount": 25.32,
"authorization_status": "completed"
}
]
}

错误

STATUS
4XX
Response Body
{
"title": "Not Found",
"description": "It was not possible to fetch the Card for the card_key f6bf148a-30b6-4a07-8c5b-3383a98ea32b.",
"translation": "Not Found Card",
"code": "CARD000011"
}
CodeStatus code描述
CARD000011404It was not possible to fetch the Card for the card_key {card_key}.
CARD000016400We're sorry, but the card could not be fetch. Please try again later.