Webhooks
Listagem de webhooks cadastrados
- Dashboard
- Nosso Blog
- Status Page
- POSTCriar um novo token
- GETListar cobranças
- POSTRealizar nova cobrança
- GETRecuperar detalhes de cobrança
- POSTAlterar o status de uma cobrança no ambiente de sandbox
- PATCHAlterar o status do antifraude no ambiente de sandbox
- POSTCapturar cobrança pre-autorizada
- POSTEstornar cobrança aprovada
- POSTCriar nova sessão
- GETRecuperar detalhes de uma sessão
- PATCHAtualizar o status de uma sessão
- POSTPagar uma sessão
- POSTCancelar uma sessão
- GETRecuperar o histórico da sessão
- GETRecupera sessão com os dados das configurações da empresa
- GETListagem de merchants cadastrados
- POSTCriação de novo merchant para cobrança
- GETRecuperar detalhes de merchant pelo id
- DELDeletar merchant pelo id
- PATCHAtualizar configurações de merchant
- GETListagem de customers cadastrados
- POSTCriação de novo customer para cobrança
- GETRecuperar detalhes de customer
- DELDeletar customer pelo id
- PATCHAtualizar customer pelo id
- GETListagem dos cartões do customer
- POSTAdicionar cartão de crédito ao customer
- GETListagem de webhooks cadastrados
- POSTCriação de novo webhook para notificação
- GETRecuperar detalhes de webhook
- DELDeletar webhook pelo id
- PATCHAtualizar webhook pelo id
- POSTCriação de um novo recebedor
- GETConsultar um recebedor pelo ID
- GETConsultar um recebedor por listagem paginada
- DELDeletar recebedor por ID
- PATCHAtualização de recebedor pelo ID
Tokens
Charges
Sessions
Merchants
Customers
Webhooks
Sellers
Webhooks
Listagem de webhooks cadastrados
GET
/
v1
/
webhooks
X-Client-Id
string
*
X-Client-Id
Required
string
X-Api-Key
string
*
X-Api-Key
Required
string
page
number
page
number
número da página
limit
number
limit
number
quantidade de itens por página
curl --request GET \
--url https://api.malga.io/v1/webhooks \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"meta": {
"itemCount": 10,
"totalItems": 20,
"itemsPerPage": 10,
"totalPages": 5,
"currentPage": 2
},
"items": [
{
"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
headerrequiredX-Api-Key
string
headerrequiredQuery Parameters
page
number
número da página
limit
number
quantidade de itens por página
Response
200 - application/json
meta
object
meta.itemCount
integer
quantidade de itens na página
meta.totalItems
integer
quantidade total de itens na consulta (esse valor é mantido em cache por 5 minutos para melhorar a performance da API)
meta.itemsPerPage
integer
quantidade de itens por página
meta.totalPages
integer
quantidade total de páginas
meta.currentPage
integer
página atual
items
any
curl --request GET \
--url https://api.malga.io/v1/webhooks \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"meta": {
"itemCount": 10,
"totalItems": 20,
"itemsPerPage": 10,
"totalPages": 5,
"currentPage": 2
},
"items": [
{
"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"
}
]
}