跳到主要内容

取消 Pix 交易预约

Request

ENDPOINT
/account/ACCOUNT_KEY/pix_schedule/SCHEDULE_KEY/cancel
MÉTODO
PATCH

Path Params

字段类型描述字符数
account_keyuuidv4账户的唯一标识键。36
schedule_keyuuidv4预约的唯一标识键36

Response

STATUS
200
Response Body: 预约已取消
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"schedule_key": "f64b3fa7-d09d-4927-ad4f-b966df9fb153",
"schedule_status": "cancelled",
"schedule_date": "2024-12-31",
"created_at": "2023-03-13T19:00:28.440Z"
}
STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP 代码
status
QI 代码
code
标题
title
描述(英文)
description
描述(葡文)
translation
400QIT000001Bad Requestschema error descriptionSchema Inválido
404PSC000001Account not FoundAccount was not foundConta não encontrada
403PSC000012User is not allowed to do this transactionUser is not allowed to do this transactionUsuário não tem autorização para fazer essa transação
404PSC000025PixSchedule not FoundPixSchedule was not foundPixSchedule não encontrada
400PSC000027Bad RequestAction cannot be taken place as there is currently a pending transfer in progressA ação não pôde ser completada como há uma transferência pendente
400PSC000028Bad RequestPix Schedule cannot be cancelled in current statusAgendamento pix não pode ser cancelado no status atual
400PSC000029Bad RequestThe given Pix Schedule is tied to a batch. It cannot be individually cancelledO agendamento pix enviado está ligado a um lote. Ela não pode ser individualmente cancelada