These are PAAS notifications pushed to the tenant webhook URL for direct debit charges
Webhook List
For information about specific payloads for a given API event type and webhook notification code, just click on the corresponding Webhook Code in the table below.
| Event Type | Event Sub Type | Code | scheduled to be sent whenever... |
|---|---|---|---|
| PAYMENT_METHOD_DMCL | PAYMENT_METHOD_CREATED_DMCL | 4000 | Enroll activated (auto-match or confirm). Typical status ACTIVE |
| PAYMENT_METHOD_DMCL | PAYMENT_METHOD_UPDATED_DMCL | 4100 | Awaiting tenant confirmation; may include identity metadata. Typical Status. PENDING_CONFIRMATION |
| PAYMENT_METHOD_DMCL | PAYMENT_METHOD_FAILED_DMCL | 4002 | Enroll failed (e.g. CEP invalid) |
| PAYMENT_METHOD_DMCL | DMCL_REQUEST_CREATED | 11000 | Charge created. Typical charge status PENDING |
| PAYMENT_METHOD_DMCL | DMCL_REQUEST_SUCCESS | 11001 | Provider confirmed success |
| PAYMENT_METHOD_DMCL | DMCL_REQUEST_FAILED | 11002 | Failed or declined / canceled |
| PAYMENT_METHOD_DMCL | DMCL_REQUEST_CHARGEBACK | 11005 | Chargeback after confirmation |
These are the request bodies that PAAS posts to the tenant's webhook (PaasNotificationExternalCallRequest). Common fields: event_type, event_type_description, webhook_notification_code, account_id, customer_id, transaction_id, request_id, details, and sometimes metadata.
Quick notes:
- transaction_id for mandates = enroll_id (string). For charges = the charge's internal_transaction_id value.
- details.code for mandates = CLABE.
- details.name and details.status are set using the same flow status string.
- mount in details applies only to charges (string).
PAYMENT_METHOD_CREATED_DMCL
{
"event_type": "PAYMENT_METHOD_DMCL",
"event_type_description": "PAYMENT_METHOD_CREATED_DMCL",
"webhook_notification_code": 4000,
"account_id": 9,
"customer_id": 123,
"transaction_id": "10",
"request_id": 987654,
"details": {
"id": 10,
"code": "012180001234567890",
"name": "ACTIVE",
"status": "ACTIVE",
"failed_reason": null,
"failed_message": null,
"amount": null
}
}
PAYMENT_METHOD_UPDATED_DMCL
With match = true
{
"event_type": "PAYMENT_METHOD_DMCL",
"event_type_description": "PAYMENT_METHOD_UPDATED_DMCL",
"webhook_notification_code": 4100,
"account_id": 9,
"customer_id": 123,
"transaction_id": "10",
"request_id": 987654,
"details": {
"id": 10,
"code": "012180001234567890",
"name": "PENDING_CONFIRMATION",
"status": "PENDING_CONFIRMATION",
"failed_reason": null,
"failed_message": null,
"amount": null
},
"metadata": {
"match": true,
"customer_name": "JUAN PEREZ",
"customer_rfc": "XAXX010101000",
"bank_name": "JUAN PEREZ",
"bank_rfc": "XAXX010101000",
"expires_at": "2026-08-13 12:00:00.0"
}
}
With match = false (identity mismatch):
{
"event_type": "PAYMENT_METHOD_DMCL",
"event_type_description": "PAYMENT_METHOD_UPDATED_DMCL",
"webhook_notification_code": 4100,
"account_id": 9,
"customer_id": 123,
"transaction_id": "10",
"request_id": 987654,
"details": {
"id": 10,
"code": "012180001234567890",
"name": "PENDING_CONFIRMATION",
"status": "PENDING_CONFIRMATION",
"failed_reason": "IDENTITY_MISMATCH",
"failed_message": "Customer identity does not match CEP",
"amount": null
},
"metadata": {
"match": false,
"customer_name": "JUAN PEREZ",
"customer_rfc": "XAXX010101000",
"bank_name": "OTRO NOMBRE",
"bank_rfc": "YBBY020202000",
"expires_at": "2026-08-13 12:00:00.0"
}
}
PAYMENT_METHOD_FAILED_DMCL
Invalid CEP
{
"event_type": "PAYMENT_METHOD_DMCL",
"event_type_description": "PAYMENT_METHOD_FAILED_DMCL",
"webhook_notification_code": 4002,
"account_id": 9,
"customer_id": 123,
"transaction_id": "10",
"request_id": 987654,
"details": {
"id": 10,
"code": "012180001234567890",
"name": "FAILED",
"status": "FAILED",
"failed_reason": "CEP_INVALID",
"failed_message": "CEP_INVALID",
"amount": null
}
}
DMCL_REQUEST_CREATED (PENDING)
{
"event_type": "PAYMENT_REQUEST_DMCL",
"event_type_description": "DMCL_REQUEST_CREATED",
"webhook_notification_code": 11000,
"account_id": 9,
"customer_id": 123,
"transaction_id": "tenant-tx-1",
"request_id": 987654,
"details": {
"id": 55,
"code": "chg_abc123",
"name": "PENDING",
"status": "PENDING",
"failed_reason": null,
"failed_message": null,
"amount": "10.50"
}
}
DMCL_REQUEST_SUCCESS (CONFIRMED)
{
"event_type": "PAYMENT_REQUEST_DMCL",
"event_type_description": "DMCL_REQUEST_SUCCESS",
"webhook_notification_code": 11001,
"account_id": 9,
"customer_id": 123,
"transaction_id": "tenant-tx-1",
"request_id": 987654,
"details": {
"id": 55,
"code": "chg_abc123",
"name": "CONFIRMED",
"status": "CONFIRMED",
"failed_reason": null,
"failed_message": null,
"amount": "10.50"
}
}
DMCL_REQUEST_FAILED
DECLINED
{
"event_type": "PAYMENT_REQUEST_DMCL",
"event_type_description": "DMCL_REQUEST_FAILED",
"webhook_notification_code": 11002,
"account_id": 9,
"customer_id": 123,
"transaction_id": "tenant-tx-1",
"request_id": 987654,
"details": {
"id": 55,
"code": "chg_abc123",
"name": "DECLINED",
"status": "DECLINED",
"failed_reason": "insufficient_funds",
"failed_message": "insufficient_funds",
"amount": "10.50"
}
}
CANCELED
{
"event_type": "PAYMENT_REQUEST_DMCL",
"event_type_description": "DMCL_REQUEST_FAILED",
"webhook_notification_code": 11002,
"account_id": 9,
"customer_id": 123,
"transaction_id": "tenant-tx-1",
"request_id": 987654,
"details": {
"id": 55,
"code": "chg_abc123",
"name": "CANCELED",
"status": "CANCELED",
"failed_reason": "customer_cancelled",
"failed_message": "customer_cancelled",
"amount": "10.50"
}
}
FAILED
{
"event_type": "PAYMENT_REQUEST_DMCL",
"event_type_description": "DMCL_REQUEST_FAILED",
"webhook_notification_code": 11002,
"account_id": 9,
"customer_id": 123,
"transaction_id": "tenant-tx-1",
"request_id": 987654,
"details": {
"id": 55,
"code": null,
"name": "FAILED",
"status": "FAILED",
"failed_reason": "Error calling Direct Debit API",
"failed_message": "Error calling Direct Debit API",
"amount": "10.50"
}
}
DMCL_REQUEST_CHARGEBACK
{
"event_type": "PAYMENT_REQUEST_DMCL",
"event_type_description": "DMCL_REQUEST_CHARGEBACK",
"webhook_notification_code": 11005,
"account_id": 9,
"customer_id": 123,
"transaction_id": "tenant-tx-1",
"request_id": 987654,
"details": {
"id": 55,
"code": "chg_abc123",
"name": "CHARGEBACK",
"status": "CHARGEBACK",
"failed_reason": "chargeback_by_customer",
"failed_message": "chargeback_by_customer",
"amount": "10.50"
}
}
