v1

latestOpenAPI 3.0.12026-07-245303882.5 MB

Consultar Templates de Webhooks

get/webhook/templates

Query parameters

Entitystring

Identificador do Evento.

Statusstring

Status do Evento.

Pagestring

Pagina de solicitaçao

Limitstring

Limite geral da consulta.

LimitPerPagestring

Total de webhooks por pagina.

Request body

{"stackTrail":"paths:/webhook/templates:get:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}

Response

200

statusstring
versionstring

Example response

{
  "body": {
    "totalItems": 18,
    "currentPage": 1,
    "limitPerPage": 200,
    "totalPages": 1,
    "entityList": [
      {
        "entity": "spb-transfer-out",
        "webhookTemplates": [
          {
            "entity": "spb-transfer-out",
            "createTimestamp": "2023-07-14T00:09:42.995873",
            "status": "ERROR",
            "body": {
              "clientFinality": "110",
              "amount": 0.01,
              "debitParty": {
                "bank": "13935893",
                "taxId": "46463721000",
                "accountType": "CC",
                "name": "teste",
                "personType": "F",
                "branch": "0001",
                "account": "300123"
              },
              "clientCode": "9bed3141-ad08-4082-ae3b-8cedb7551eca",
              "id": "773ecd22-3447-49c2-a661-e9ba61bda4b9",
              "creditParty": {
                "bank": "123456",
                "taxId": "46463721000",
                "accountType": "CC",
                "name": "teste",
                "personType": "F",
                "branch": "0001",
                "account": "300123"
              }
            },
            "error": {
              "errorCode": "404",
              "message": "SPB not found"
            }
          }
        ]
      }
    ]
  },
  "status": "SUCCESS",
  "version": "1.0.0"
}