Modelos Webhooks

Webhook de recebimento de TED

Entity: spb-transfer-in**

{
  "body": {
    "numCtrlSTR": "1393589324514991234",
    "amount": 872.03,
    "debitParty": {
      "bank": "16501555",
      "taxId": "46463721000",
      "accountType": "PG",
      "name": "teste",
      "personType": "J",
      "account": "300123"
    },
    "id": "e2726e30-c318-4e1f-b284-e37c14e6c4b2",
    "clientfinality": "10",
    "creditParty": {
      "bank": "13935893",
      "taxId": "46463721000",
      "accountType": "CC",
      "name": "teste",
      "personType": "J",
      "branch": "1",
      "account": "300123"
    }
  },
  "entity": "spb-transfer-in",
  "status": "CONFIRMED",
  "createTimestamp": "2023-07-27T09:10:29.5587634"
}

Webhook de envio de TED

Entity: spb-transfer-out*


{
  "body": {
    "clientFinality": "10",
    "numCtrlStr": "STR20230724034501234",
    "amount": 750,
    "debitParty": {
      "bank": "13935893",
      "taxId": "46463721000",
      "accountType": "CC",
      "name": "teste",
      "personType": "J",
      "branch": "0001",
      "account": "300123"
    },
    "clientCode": "78d96006-c535-46e3-93a6-d8c85a6000bc",
    "description": "Pagamento",
    "id": "7e172eef-f05e-429e-ae36-401310a204cd",
    "creditParty": {
      "bank": "00360305",
      "taxId": "46463721000",
      "accountType": "CC",
      "name": "teste",
      "personType": "F",
      "branch": "0001",
      "account": "300123"
    }
  },
  "entity": "spb-transfer-out",
  "createTimestamp": "2023-07-24T17:02:47.0824409",
  "status": "CONFIRMED"
}

Webhook de recebimento de devolução TED

Entity: spb-reversal-in

{
  "body": {
    "amount": 872.03,
     "creditParty": {
      "account": "300123",
      "accountType": "PG",
      "bank": "13935893",
      "branch": "1",
      "name": "teste",
      "personType": "J",
       "taxID": "0122555125",
     },
     "debitParty": {
      "account": "300123",
      "accountType": "PG",
      "bank": "13935893",
      "branch": "1",
      "name": "teste",
      "personType": "J",
      "taxID": "0122555125",
     },
     "id": "e2726e30-c318-4e1f-b284-e37c14e6c4b2",
     "originalClientCode": "e2726e30-c318-4e1f-b284-e37c14e6c4b2",
     "originalId": "e2726e30-c318-4e1f-b284-e37c14e6c4b2",
     "reason": "Agencia ou Conta Destinataria do Credito Invalida",
  },
 "createTimestamp": "2023-07-27T09:10:29.5587634",
 "entity": "spb-transfer-in",
 "status": "CONFIRMED",
 }