curl --location --request GET 'https://api-preview.fidi.money/fidix/v1/webhooks/event-types' \
--header 'Authorization: Bearer <token>'{
"event_types": [
{
"event_type": "transfer.received",
"description": "Transferencia entrante recibida y procesada exitosamente",
"version": "1.0",
"payload_schema": {
"type": "object",
"properties": {
"transaction_id": {
"type": "string",
"format": "uuid"
},
"from_account": {
"type": "object"
},
"to_account_id": {
"type": "string",
"format": "uuid"
},
"amount": {
"type": "string"
},
"currency": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"completed"
]
}
}
}
},
{
"event_type": "transfer.failed",
"description": "Transferencia entrante fallida",
"version": "1.0"
}
]
}