GET
/
v1
/
webhooks
/
{id}
curl --request GET \
  --url https://api.malga.io/v1/webhooks/{id} \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>'
{
  "id": "31c142ad-4c30-4964-ba24-2df0f2bbb745",
  "event": "transaction.authorized",
  "endpoint": "https://enuqkxq2lu8be0y.m.pipedream.net",
  "version": 1.1,
  "publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAnFQSIT7Mwg5QLeJLAwhAJx9wS+XsQvnyph/Lz7AJyQA=\n-----END PUBLIC KEY-----\n",
  "status": true,
  "clientId": "cc0b1e41-2936-45c5-947f-93995ffcdc00",
  "createdAt": "2021-07-06T21:03:36.590Z",
  "updatedAt": "2021-07-06T21:03:36.590Z"
}

Authorizations

X-Client-Id
string
headerrequired
X-Api-Key
string
headerrequired

Path Parameters

id
string
required

id do webhook que deseja recuperar

Response

200 - application/json
id
string

identificador do webhook

createdAt
string

data de criação

clientId
string

identificador do client

event
string

Tipo do evento que deseja receber notificações no seu webhook

endpoint
string

URL do seu sistema que deverá receber as notificações de evento

version
number
default: 1.1

Versão da api da Malga que seu webhook implementa

publicKey
string

Chave pública ed25519

status
boolean
default: true

Identifica se o webhooks está ativo ou não para receber notificações de evento da Malga