API Docs Início Documentação Referência de API Copiar para LLM
GET/v1/BankAccount/{id}/Pix/Automatic/ScheduledPayments
Banking · PIX

Obter registro de pagamentos agendados do pix automático

Lista e filtra registros de Bank Account.

Visão geral

Obter registro de pagamentos agendados do pix automático

Autenticação e pré-requisitos

Requer autenticação. Envie o token no header Authorization: Bearer {{token}} (JWT do AWS Cognito). Integrações servidor-a-servidor podem usar X-Api-Key. Todo tráfego é HTTPS e a credencial nunca vai na URL nem em query string.

Pré-requisitos: a rota exige identificador(es) de recurso já existente(s):

Request

Parâmetros

NomeEmTipoObrigatórioDescriçãoExemplo
idpathstringobrigatório3fa85f64-5717-4562-b3fc-2c963f66afa6
statusqueryobjetoopcionalScheduled
pagequeryintegeropcional10
sizequeryintegeropcional10
isDeletedquerybooleanopcionaltrue
orderByquerystringopcionalvalor

Corpo da requisição

Este endpoint não recebe corpo.

Response

Resposta 200.

Campos

CampoTipoObrigatórioDescriçãoValoresExemplo
dataarray de objetoopcionalobjeto — ver detalhe abaixo[ … ]
pageintegeropcional0
totalPagesintegeropcional0
totalItemsintegeropcional0

Detalhe de data

CampoTipoObrigatórioDescriçãoValoresExemplo
transferobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
automaticPixobjetoopcionalvaria conforme o tipo — ver exemplo{ … }

Exemplo de resposta

{
  "data": [
    {
      "transfer": {
        "id": "texto",
        "createdAt": "2025-08-11T13:45:00Z",
        "createdBy": {},
        "tenant": "texto",
        "tenantDisplay": "texto",
        "updatedAt": "2025-08-11T13:45:00Z",
        "updatedBy": {},
        "ownerUser": {},
        "ownerGroup": {},
        "nsu": "texto",
        "amount": 0,
        "transferDate": "2025-08-11T13:45:00Z",
        "paymentPurpose": {},
        "paymentPurposeDisplay": "texto",
        "status": {},
        "statusDisplay": "texto",
        "accountingEntry": "texto",
        "errorMessage": "texto",
        "reversalCodeReason": "texto",
        "reversalDescriptionReason": "texto",
        "bankAccountBeneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "bankAccountBeneficiary": {},
        "authorizedAt": "2025-08-11T13:45:00Z",
        "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "requester": {},
        "approvals": []
      },
      "automaticPix": {
        "id": "texto",
        "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "bankAccount": {},
        "automaticPixItemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "automaticPixItem": {},
        "status": {},
        "statusDisplay": "texto",
        "amount": 0,
        "sequenceType": {},
        "frequencyType": {},
        "frequencyTypeDisplay": "texto",
        "firstRecurrenceDate": "2025-08-11T13:45:00Z",
        "lastRecurrenceDate": "2025-08-11T13:45:00Z",
        "recurrenceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "contractNumber": "texto",
        "receivingUserName": "Fulano de Tal",
        "receivingUserRegistrationNumber": "texto",
        "receivingBankISPB": "texto",
        "isDeleted": true
      }
    }
  ],
  "page": 0,
  "totalPages": 0,
  "totalItems": 0
}

Códigos de retorno

CódigoSignificadoDetalhe do contrato
200Requisição bem-sucedida.

Exemplos

curl -X GET "{{baseUrl}}/v1/BankAccount/3fa85f64-5717-4562-b3fc-2c963f66afa6/Pix/Automatic/ScheduledPayments" \
  -H "Authorization: Bearer {{token}}"
var baseUrl = "{{baseUrl}}";
var token   = "{{token}}";

using var http = new HttpClient { BaseAddress = new Uri(baseUrl) };
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", token);

var rota = "/v1/BankAccount/3fa85f64-5717-4562-b3fc-2c963f66afa6/Pix/Automatic/ScheduledPayments";

var resp = await http.GetAsync(rota);
resp.EnsureSuccessStatusCode();
var json = await resp.Content.ReadAsStringAsync();
const baseUrl = '{{baseUrl}}';
const token   = '{{token}}';

const resp = await fetch(`${baseUrl}/v1/BankAccount/3fa85f64-5717-4562-b3fc-2c963f66afa6/Pix/Automatic/ScheduledPayments`, {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();

Troque apenas {{baseUrl}} e {{token}}. No Postman, defina-os como variáveis de environment; o cURL importa em Import > Raw text.

Downloads

Este endpoint já vem configurado nas collections abaixo, na pasta da etapa correspondente.

Guia de importação: Como importar no Postman · Todos os downloads: Downloads