API Docs Início Documentação Referência de API Copiar para LLM
GET/v1/BankAccount/{id}/Approvals
Banking · Conta digital

Obter uma solicitação de aprovação

Lista e filtra registros de Bank Account.

Visão geral

Obter uma solicitação de aprovação

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órioID da solicitação3fa85f64-5717-4562-b3fc-2c963f66afa6
approvalTypequerystringopcionalTipo de aprovaçãovalor

Corpo da requisição

Este endpoint não recebe corpo.

Response

Resposta 200.

Campos

CampoTipoObrigatórioDescriçãoValoresExemplo
bankAccountPaymentobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
bankAccountPaymentIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
bankAccountBeneficiaryobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
bankAccountBeneficiaryIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
bankAccountTransferobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
bankAccountTransferIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
bankAccountUserobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
bankAccountUserIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
bankAccountTransactionLimitsobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
bankAccountTransactionEffectiveLimitsobjetoopcionalvaria conforme o tipo — ver exemplo{ … }

Exemplo de resposta

{
  "bankAccountPayment": {
    "id": "texto",
    "createdAt": "2025-08-11T13:45:00Z",
    "createdBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "tenant": "texto",
    "tenantDisplay": "texto",
    "updatedAt": "2025-08-11T13:45:00Z",
    "updatedBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerUser": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerGroup": {
      "groupDisplay": "texto",
      "tenantDisplay": "texto"
    },
    "barCode": "texto",
    "nsu": "texto",
    "amount": 0,
    "date": "2025-08-11T13:45:00Z",
    "dueDate": "2025-08-11T13:45:00Z",
    "paymentPurpose": "PagamentoDeImpostosTributosETaxas",
    "paymentPurposeDisplay": "texto",
    "status": "Approved",
    "paymentTaxesType": "TributosCodigoBarra",
    "statusDisplay": "texto",
    "errorMessage": "texto",
    "authorizedAt": "2025-08-11T13:45:00Z",
    "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "requester": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "approvals": [
      {
        "level": {},
        "action": {},
        "actionDisplay": "texto",
        "user": {}
      }
    ]
  },
  "bankAccountPaymentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "bankAccountBeneficiary": {
    "id": "texto",
    "createdAt": "2025-08-11T13:45:00Z",
    "createdBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "tenant": "texto",
    "tenantDisplay": "texto",
    "updatedAt": "2025-08-11T13:45:00Z",
    "updatedBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerUser": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerGroup": {
      "groupDisplay": "texto",
      "tenantDisplay": "texto"
    },
    "name": "Fulano de Tal",
    "registrationNumber": "12345678909",
    "bank": 0,
    "bankIspb": 0,
    "bankDisplay": "texto",
    "agency": 0,
    "accountNumber": "texto",
    "tenantName": "Fulano de Tal",
    "accountType": "NaturalCheckingAccount",
    "accountTypeDisplay": "texto",
    "status": "Approved",
    "statusDisplay": "texto",
    "operationTypeValue": "Transfer",
    "operationTypeValueDisplay": "texto",
    "pixKeyTypeValue": "NaturalRegistrationNumber",
    "pixKeyTypeValueDisplay": "texto",
    "keyPix": "texto",
    "authorizedAt": "2025-08-11T13:45:00Z",
    "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "requester": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "approvals": [
      {
        "level": {},
        "action": {},
        "actionDisplay": "texto",
        "user": {}
      }
    ]
  },
  "bankAccountBeneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "bankAccountTransfer": {
    "id": "texto",
    "createdAt": "2025-08-11T13:45:00Z",
    "createdBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "tenant": "texto",
    "tenantDisplay": "texto",
    "updatedAt": "2025-08-11T13:45:00Z",
    "updatedBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerUser": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerGroup": {
      "groupDisplay": "texto",
      "tenantDisplay": "texto"
    },
    "nsu": "texto",
    "amount": 0,
    "transferDate": "2025-08-11T13:45:00Z",
    "paymentPurpose": "PagamentoDeImpostosTributosETaxas",
    "paymentPurposeDisplay": "texto",
    "status": "Approved",
    "statusDisplay": "texto",
    "accountingEntry": "texto",
    "errorMessage": "texto",
    "reversalCodeReason": "texto",
    "reversalDescriptionReason": "texto",
    "bankAccountBeneficiaryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "bankAccountBeneficiary": {
      "id": "texto",
      "createdAt": "2025-08-11T13:45:00Z",
      "createdBy": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "tenant": "texto",
      "tenantDisplay": "texto",
      "updatedAt": "2025-08-11T13:45:00Z",
      "updatedBy": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "ownerUser": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "ownerGroup": {
        "groupDisplay": "texto",
        "tenantDisplay": "texto"
      },
      "name": "Fulano de Tal",
      "registrationNumber": "12345678909",
      "bank": 0,
      "bankIspb": 0,
      "bankDisplay": "texto",
      "agency": 0,
      "accountNumber": "texto",
      "tenantName": "Fulano de Tal",
      "accountType": "NaturalCheckingAccount",
      "accountTypeDisplay": "texto",
      "status": "Approved",
      "statusDisplay": "texto",
      "operationTypeValue": "Transfer",
      "operationTypeValueDisplay": "texto",
      "pixKeyTypeValue": "NaturalRegistrationNumber",
      "pixKeyTypeValueDisplay": "texto",
      "keyPix": "texto",
      "authorizedAt": "2025-08-11T13:45:00Z",
      "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "requester": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "approvals": [
        {}
      ]
    },
    "authorizedAt": "2025-08-11T13:45:00Z",
    "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "requester": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "approvals": [
      {
        "level": {},
        "action": {},
        "actionDisplay": "texto",
        "user": {}
      }
    ]
  },
  "bankAccountTransferId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "bankAccountUser": {
    "id": "texto",
    "createdAt": "2025-08-11T13:45:00Z",
    "createdBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "tenant": "texto",
    "tenantDisplay": "texto",
    "updatedAt": "2025-08-11T13:45:00Z",
    "updatedBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerUser": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerGroup": {
      "groupDisplay": "texto",
      "tenantDisplay": "texto"
    },
    "user": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "level": "texto",
    "levelDisplay": "texto",
    "status": "texto",
    "statusDisplay": "texto",
    "isDeleted": true,
    "authorizedAt": "2025-08-11T13:45:00Z",
    "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "accountNumber": 0,
    "ownerNameAccount": "Fulano de Tal",
    "ownerAccountType": "texto",
    "bankAccountRequestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "registrationNumber": "12345678909",
    "approvals": [
      {
        "level": {},
        "action": {},
        "actionDisplay": "texto",
        "user": {}
      }
    ]
  },
  "bankAccountUserId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "bankAccountTransactionLimits": {
    "id": "texto",
    "createdAt": "2025-08-11T13:45:00Z",
    "createdBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "tenant": "texto",
    "tenantDisplay": "texto",
    "updatedAt": "2025-08-11T13:45:00Z",
    "updatedBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerUser": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerGroup": {
      "groupDisplay": "texto",
      "tenantDisplay": "texto"
    },
    "bankAccount": {
      "id": "texto",
      "createdAt": "2025-08-11T13:45:00Z",
      "createdBy": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "tenant": "texto",
      "tenantDisplay": "texto",
      "updatedAt": "2025-08-11T13:45:00Z",
      "updatedBy": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "ownerUser": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "ownerGroup": {
        "groupDisplay": "texto",
        "tenantDisplay": "texto"
      },
      "bankCode": 0,
      "bankCodeDisplay": "texto",
      "bankIspb": 0,
      "account": "texto",
      "agency": "texto",
      "type": "PaymentAccount",
      "typeDisplay": "texto",
      "modality": "NaturalCheckingAccount",
      "modalityDisplay": "texto",
      "quorumMinimumApproval": 0,
      "externalId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "tenantName": "Fulano de Tal",
      "isDeleted": true,
      "status": "Active",
      "statusDisplay": "texto",
      "person": {
        "id": "texto",
        "createdAt": "2025-08-11T13:45:00Z",
        "createdBy": {},
        "tenant": "texto",
        "tenantDisplay": "texto",
        "updatedAt": "2025-08-11T13:45:00Z",
        "updatedBy": {},
        "ownerUser": {},
        "ownerGroup": {},
        "registrationNumber": "12345678909",
        "name": "Fulano de Tal"
      },
      "balance": {
        "currentBalance": 0,
        "blockedBalance": 0,
        "available": 0,
        "bankAccount": {}
      },
      "creditors": [
        {}
      ]
    },
    "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "pixLimit": {
      "businessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      },
      "nonBusinessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      }
    },
    "bankSlipLimit": {
      "businessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      },
      "nonBusinessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      }
    },
    "transferLimit": {
      "businessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      },
      "nonBusinessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      }
    },
    "tedLimit": {
      "businessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      },
      "nonBusinessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      }
    },
    "uploads": [
      {
        "id": "texto",
        "createdAt": "2025-08-11T13:45:00Z",
        "createdBy": {},
        "tenant": "texto",
        "tenantDisplay": "texto",
        "updatedAt": "2025-08-11T13:45:00Z",
        "updatedBy": {},
        "ownerUser": {},
        "ownerGroup": {},
        "fileName": "Fulano de Tal",
        "fileType": "texto",
        "displayName": "Fulano de Tal",
        "tempUrl": "https://exemplo.com.br/callback",
        "tempGetUrl": "https://exemplo.com.br/callback",
        "tempPutUrl": "https://exemplo.com.br/callback"
      }
    ]
  },
  "bankAccountTransactionEffectiveLimits": {
    "id": "texto",
    "createdAt": "2025-08-11T13:45:00Z",
    "createdBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "tenant": "texto",
    "tenantDisplay": "texto",
    "updatedAt": "2025-08-11T13:45:00Z",
    "updatedBy": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerUser": {
      "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrationNumber": "12345678909",
      "userIdDisplay": "texto",
      "tenantDisplay": "texto",
      "tenantName": "Fulano de Tal"
    },
    "ownerGroup": {
      "groupDisplay": "texto",
      "tenantDisplay": "texto"
    },
    "bankAccount": {
      "id": "texto",
      "createdAt": "2025-08-11T13:45:00Z",
      "createdBy": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "tenant": "texto",
      "tenantDisplay": "texto",
      "updatedAt": "2025-08-11T13:45:00Z",
      "updatedBy": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "ownerUser": {
        "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "registrationNumber": "12345678909",
        "userIdDisplay": "texto",
        "tenantDisplay": "texto",
        "tenantName": "Fulano de Tal"
      },
      "ownerGroup": {
        "groupDisplay": "texto",
        "tenantDisplay": "texto"
      },
      "bankCode": 0,
      "bankCodeDisplay": "texto",
      "bankIspb": 0,
      "account": "texto",
      "agency": "texto",
      "type": "PaymentAccount",
      "typeDisplay": "texto",
      "modality": "NaturalCheckingAccount",
      "modalityDisplay": "texto",
      "quorumMinimumApproval": 0,
      "externalId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "tenantName": "Fulano de Tal",
      "isDeleted": true,
      "status": "Active",
      "statusDisplay": "texto",
      "person": {
        "id": "texto",
        "createdAt": "2025-08-11T13:45:00Z",
        "createdBy": {},
        "tenant": "texto",
        "tenantDisplay": "texto",
        "updatedAt": "2025-08-11T13:45:00Z",
        "updatedBy": {},
        "ownerUser": {},
        "ownerGroup": {},
        "registrationNumber": "12345678909",
        "name": "Fulano de Tal"
      },
      "balance": {
        "currentBalance": 0,
        "blockedBalance": 0,
        "available": 0,
        "bankAccount": {}
      },
      "creditors": [
        {}
      ]
    },
    "bankAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "pixLimit": {
      "businessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      },
      "nonBusinessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      }
    },
    "bankSlipLimit": {
      "businessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      },
      "nonBusinessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      }
    },
    "transferLimit": {
      "businessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      },
      "nonBusinessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      }
    },
    "tedLimit": {
      "businessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      },
      "nonBusinessHours": {
        "valueInCentsOwnOwnership": 0,
        "valueInCentsNaturalPerson": 0,
        "valueInCentsLegalPerson": 0
      }
    },
    "uploads": [
      {
        "id": "texto",
        "createdAt": "2025-08-11T13:45:00Z",
        "createdBy": {},
        "tenant": "texto",
        "tenantDisplay": "texto",
        "updatedAt": "2025-08-11T13:45:00Z",
        "updatedBy": {},
        "ownerUser": {},
        "ownerGroup": {},
        "fileName": "Fulano de Tal",
        "fileType": "texto",
        "displayName": "Fulano de Tal",
        "tempUrl": "https://exemplo.com.br/callback",
        "tempGetUrl": "https://exemplo.com.br/callback",
        "tempPutUrl": "https://exemplo.com.br/callback"
      }
    ]
  }
}

Códigos de retorno

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

Exemplos

curl -X GET "{{baseUrl}}/v1/BankAccount/3fa85f64-5717-4562-b3fc-2c963f66afa6/Approvals" \
  -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/Approvals";

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/Approvals`, {
  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