Webhooks
Obtener suscripciones por comercio
GET /v1/merchants/{merchantId}/webhooks
Este endpoint permite obtener todas las suscripciones a Webhooks que tiene un comercio. Las suscripciones se devuelven como una lista de elementos.
curl --request GET \
--url https://api.menta.global/api/v1/merchants/{merchantId}/webhooks \
--header 'Authorization: Bearer {access_token}' \[
{
"id": "string",
"customer_id": "string",
"merchant_id" : "string",
"notification_url": "string",
"notification_type": "array"
}
]