v1

latestOpenAPI 3.1.02026-07-2479154362.5 KB
notifications

Send event webhook

post/merchant_url/webhook

Request body

verify_tokenstring required

Example request

{
  "verify_token": "310XXXX4",
  "events": [
    {
      "event_id": "209f681b-XXXX-4238-XXXX-2204XXXX27cf",
      "timestamp": "2024-09-30T18:00:58.087Z",
      "payload": {
        "amount": "1",
        "concept": "payment1987",
        "currency": "USD",
        "id": "aaa13cd5a9XXXXXXXX521269ac13bb5a",
        "transaction_id": "123123",
        "external_id": "bf5d88cc-f60c-4612-8739-15b3244fcd04",
        "origin": {
          "account_number": "1939512312322150",
          "branch": "0",
          "owner_name": "CONSULTORA XXXXXXXX SAC",
          "account_format": "clabe",
          "tax_id_type": "rfc",
          "tax_id": "DODJ2301016J3",
          "bank": {
            "code": "012",
            "bicfi": "BBVAMXMMXXX",
            "name": "BBVA",
            "country": "MX"
          }
        },
        "destination": {
          "account_number": "1939512312322150",
          "branch": "0",
          "owner_name": "CONSULTORA XXXXXXXX SAC",
          "account_format": "clabe",
          "tax_id_type": "rfc",
          "tax_id": "DODJ2301016J3",
          "bank": {
            "code": "012",
            "bicfi": "BBVAMXMMXXX",
            "name": "BBVA",
            "country": "MX"
          }
        },
        "voucher_data": {
          "key_tracing": "CR17398669493483414",
          "url": "https://www.banxico.org.mx/cep/go?i=90646&s=20210302&d=J2X%2BgBSm8663Dvlj9Cua50kJKFa%2FAbICkTvi8F2ZHd7pfNZtEjOqgdIkmmcMTPka6SdtphN4fvVIzUbajdTmRSNFh8VV9plun2gYsufJB0U%3D"
        },
        "error": {
          "code": "MX02",
          "message": "Blocked account. If data from a blocked account has been entered, the bank will reject the transaction and make the corresponding refund."
        }
      }
    }
  ]
}

Response

Webhook received successfully