跳到主要内容

取消定期付款

请求

ENDPOINT
/account/ACCOUNT_KEY/outgoing_recurrence/OUTGOING_RECURRENCE_KEY/cancel
方法
PATCH

请求 Path Params

字段类型描述字符数
account_key *uuid4账户的唯一标识键。36
outgoing_recurrence_key *uuid4授权的唯一标识键。36

Request Body

Request Body: 取消定期付款
{
"outgoing_recurrence_status": "cancelled",
}

Body Params

字段类型描述字符数
outgoing_recurrence_status *stringPix 定期付款状态标识符。cancelled

响应

STATUS
200
Response Body: 定期付款已取消
{
"outgoing_recurrence_key": "cfa32109-a6dd-4304-94db-03a7b6d92a47",
"outgoing_recurrence_status": "cancelled",
"created_at": "2025-05-22T20:30:23.459Z",
"updated_at": "2025-05-22T20:39:23.459Z"
}
STATUS
4XX
Response Body
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo"
}
HTTP 状态码QI 代码
code
标题
title
描述(英文)
Description
描述(葡文)
translation
400QIT000001Bad RequestSchema ErrorErro de Schema
403APX000025User 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
403APX000017Requester not allowed to access this endpointRequester has no permission to perform pix transfers on this endpointRequester não possui permissão de realizar transações pix através deste endpoint
404APX000020Account not FoundAccount was not foundConta {account_key} não foi encontrada.
404APX000001Recurrence not FoundRecurrence was not foundRecorrência {outgoing_recurrence_key} não foi encontrada