1. Medios de Notificacion
Payday Public API
  • Proceso de Venta
  • Autenticacion y Firma HMAC
  • Proceso de Venta
    • Cotizacion - crear
      POST
    • Referencias - solicitar
      POST
    • Ofertas - previsualizar
      POST
    • Ofertas - seleccionar
      POST
    • Contrato - renderizar
      POST
    • Contrato - firma
      POST
    • Validar ICCID
      POST
    • Validar IMEI
      POST
    • Validar ICCID + IMEI
      POST
    • Finalizar venta
      POST
  • Productos
    • Marcas
      GET
    • Modelos y Prefijos por marca
      GET
  • Medios de Notificacion
    • Registrar Webhook para cotizacion
      POST
    • Polling Cotizacion
      GET
    • Historial de Eventos
      GET
  • Eventos Webhook
    • Evento quote.updated
    • reference.requested
    • reference.accepted
    • imei.validated
    • contract.signed
    • offer.selected
    • offer.previewed
  • Health check
    GET
  1. Medios de Notificacion

Registrar Webhook para cotizacion

Desarrollando
POST
https://integrations.paydaymx.com/public-api/v1/sales-process/cotizaciones/{COTIZACION_ID}/notificaciones/webhooks

Solicitud

Autorización
Agregar parámetro en header
X-Api-Key
Ejemplo:
X-Api-Key: ********************
Parámetros de ruta

Parámetros de Header

Parámetros del Body application/jsonRequerido

Ejemplos

Respuestas

🟢201Éxito
application/json
Body

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://integrations.paydaymx.com/public-api/v1/sales-process/cotizaciones/69fa7b48e65c5ec021a8aeb0/notificaciones/webhooks' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Signature;' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "https://01kqx7hkx5ad6d3y4wr7bcvddg.hooks.webhookrelay.com",
    "events": [
        "quote.created",
        "quote.updated",
        "reference.requested",
        "reference.accepted",
        "reference.rejected",
        "offer.previewed",
        "offer.selected",
        "contract.signed",
        "imei.validated"
    ],
    "active": true
}'
Respuesta Ejemplo de Respuesta
{
    "cotizacion": {
        "id": "69fa7b48e65c5ec021a8aeb0",
        "process": {
            "state": "waiting",
            "next_action": "wait_identity_validation",
            "pause_reason": "identity_validation_pending",
            "can_continue": false,
            "checkpoints": {
                "referencias_validadas": false,
                "oferta_seleccionada": false,
                "contrato_firmado": false,
                "imei_validado": false
            }
        }
    },
    "webhook": {
        "id": "5b144e25-ac1f-4309-8c84-26c5ee423772",
        "url": "https://01kqx7hkx5ad6d3y4wr7bcvddg.hooks.webhookrelay.com",
        "events": [
            "quote.created",
            "quote.updated",
            "reference.requested",
            "reference.accepted",
            "reference.rejected",
            "offer.previewed",
            "offer.selected",
            "contract.signed",
            "imei.validated"
        ],
        "active": true,
        "created_at": "2026-05-05T23:29:31.958Z",
        "updated_at": "2026-05-05T23:29:31.958Z"
    }
}
Modificado en 2026-05-05 23:30:33
Anterior
Modelos y Prefijos por marca
Siguiente
Polling Cotizacion
Built with