Skip to content
Aegis
Connecting

Action

42bb6ea4-aa5c-4fac-93a0-cb466ded2357

Checkout recoveryWhatsapp alt methodExecuted

Send a en-IN WhatsApp checkout recovery message for ₹2,499.00

Proposal

What the module wants to do and why, in its own words.

Money impact
none
Expected recovery
₹2,499.00
Entity
Payment pay_0004_ad2a6bd3
Trigger event
evt_0004_afc44dee
Idempotency key
checkout_recovery:payment:pay_0004_ad2a6bd3:1

Explanation

  1. The issuer explicitly reported insufficient funds for this domestic debit card payment.
  2. Locale en-IN selected from the customer's persisted preference.
  3. Retry link is deterministic for payment pay_0004_ad2a6bd3 on 2026-09-06: https://rzp.io/l/aegis-CQKH7J53

Guardrails

Every bound evaluated before anything could run (C-B1).

8 passed, 0 failed

  • Customer opted outpassed
    limit noactual no

    Customer messaging is allowed only when opted_out is false.

  • Payment amount positivepassed
    limit > 0 paiseactual ₹2,499.00

    Recovery links are created only for a positive payment amount.

  • Strategy allowedpassed
    limit ["RETRY_LINK_LOCALIZED","RETRY_ALTERNATE_METHOD","CART_RECOVERY_NUDGE"]actual RETRY_ALTERNATE_METHOD

    Only the three checkout recovery diagnosis strategies map to a WhatsApp template.

  • Payment entitypassed
    limit paymentactual payment

    Checkout recovery actions are scoped to payment projections.

  • Kill switchpassed
    limit noactual no
  • Message cooldown hourspassed
    limit 24actual
  • Quiet hours localpassed
    limit {"end":8,"start":21,"timezone":"Asia/Kolkata"}actual {"hour":12,"timezone":"Asia/Kolkata"}
  • Daily discount budget paisepassed
    limit ₹50,000.00actual ₹42,000.00

Diagnosis

openai gpt-5.6-luna in 7.2 s

model
Root cause
Insufficient funds
Strategy
Retry alternate method
Confidence 99%
Rationale
The issuer explicitly reported insufficient funds for this domestic debit card payment.
Deterministic cross-check (overrode the model)
  • error_reason=insufficient_funds requires root_cause INSUFFICIENT_FUNDS

Outbound whatsapp message

aegis_checkout_alt_method_v1 to +91••••••44 (en-IN)

simulated, not delivered
{
  "to": "+91••••••44",
  "type": "template",
  "template": {
    "name": "aegis_checkout_alt_method_v1",
    "language": {
      "code": "en_IN"
    },
    "components": [
      {
        "type": "body",
        "parameters": [
          {
            "text": "Your payment of ₹2,499.00 did not go through. Try another payment method.",
            "type": "text"
          }
        ]
      },
      {
        "type": "button",
        "index": "0",
        "sub_type": "url",
        "parameters": [
          {
            "text": "https://rzp.io/l/aegis-CQKH7J53",
            "type": "text"
          }
        ]
      }
    ]
  },
  "messaging_product": "whatsapp"
}

Timeline

Created 06 Sept, 12:08:50

  1. Diagnosed by openai
    Insufficient funds
  2. Proposed by checkout recovery
  3. Simulated whatsapp message
    aegis_checkout_alt_method_v1 to +91••••••44
  4. Executed

Raw proposal

The stored JSON, exactly as persisted.

{
  "kind": "whatsapp_alt_method",
  "module": "checkout_recovery",
  "payload": {
    "to": "+91••••••44",
    "type": "template",
    "template": {
      "name": "aegis_checkout_alt_method_v1",
      "language": {
        "code": "en_IN"
      },
      "components": [
        {
          "type": "body",
          "parameters": [
            {
              "text": "Your payment of ₹2,499.00 did not go through. Try another payment method.",
              "type": "text"
            }
          ]
        },
        {
          "type": "button",
          "index": "0",
          "sub_type": "url",
          "parameters": [
            {
              "text": "https://rzp.io/l/aegis-CQKH7J53",
              "type": "text"
            }
          ]
        }
      ]
    },
    "messaging_product": "whatsapp"
  },
  "summary": "Send a en-IN WhatsApp checkout recovery message for ₹2,499.00",
  "entityId": "pay_0004_ad2a6bd3",
  "customerId": "cus_0003_acddf77d",
  "entityType": "payment",
  "explanation": [
    "The issuer explicitly reported insufficient funds for this domestic debit card payment.",
    "Locale en-IN selected from the customer's persisted preference.",
    "Retry link is deterministic for payment pay_0004_ad2a6bd3 on 2026-09-06: https://rzp.io/l/aegis-CQKH7J53"
  ],
  "moduleVersion": "v1",
  "idempotencyKey": "checkout_recovery:payment:pay_0004_ad2a6bd3:1",
  "moneyImpactPaise": 0,
  "requiresApproval": false,
  "expectedRecoveryPaise": 249900
}

Execution result

{
  "link": "https://rzp.io/l/aegis-CQKH7J53"
}
Made with 💖 by Nabhanyu for Razorpay AI Buildathon