Card.resend_recipient_email

This event is dispatched whenever a card recipient email is resent.

Example payload

{
  "id": 124600,
  "object": "event",
  "api_version": "3.10",
  "webhook_version": "1.0",
  "created_at": "2021-05-24T11:39:55.000000Z",
  "type": "card.resend_recipient_email",
  "data": {
    "object": {
      "object": "resend_recipient_email",
      "mail_to_address": "johnsmith@example.com",
      "card": {
        "object": "card",
        "id": 510212,
        "balance": 1500,
        "card_reference": "6301190045888067809",
        "pin": "329732",
        "expiry_time": null,
        "validity_start_time": "2021-05-24T10:24:09.000000Z",
        "personal_message": "",
        "qr_code_url": "https://api.mytoggle.io/qrcodegenerator/6301190045888067809",
        "account_id": 1,
        "purchaser_contact": {
          "object": "contact",
          "id": 434278,
          "email": "janesmith@example.com",
          "first_name": "Jane",
          "last_name": "Smith",
          "phone_number": null,
          "marketing_opt_in_at": null
        },
        "product": {
          "object": "product",
          "id": 3251,
          "name": "Joiner's Gift Card",
          "short_description": "Gift the gift of bread.",
          "long_description": "Only available at the Joiner's Kitchen",
          "image": null,
          "product_type": {
            "object": "product_type",
            "id": 1,
            "name": "Gift Card"
          }
        },
        "contact": {
          "object": "contact",
          "id": 434282,
          "email": "jimsmith@example.co.uk",
          "first_name": "Jim",
          "last_name": "Smith",
          "phone_number": null,
          "marketing_opt_in_at": null
        },
        "currency": {
          "object": "currency",
          "id": 1,
          "name": "Sterling",
          "denomination": 100,
          "iso_currency_code": "GBP"
        },
        "line_item_fulfilment": {
          "object": "line_item_fulfilment",
          "id": 494221,
          "tracking_reference": null,
          "postage_type": null,
          "address": null,
          "contact": {
            "object": "contact",
            "id": 434279,
            "email": "johnsmith@example.com",
            "first_name": null,
            "last_name": null,
            "phone_number": null,
            "marketing_opt_in_at": null
          },
          "fulfilment_method": {
            "object": "fulfilment_method",
            "id": 1,
            "name": "Email"
          }
        },
        "card_alias": {
          "object": "card_alias",
          "card_alias": "18347923487",
          "card_alias_pin": "1234",
        }
      }
    }
  }
}

Last updated