Toggle Developers
HomeAcademy
  • Welcome
  • GraphQL
    • Getting started
    • Exploring our API
    • Authentication
    • API playground
    • Error handling
  • Key concepts
    • Overview
      • Orders, Transactions & Line Items
      • Card number formats
  • Basics
    • Create a card
    • Check a card balance
    • Redeem a card
  • Webhooks
    • Overview
      • Getting started
      • Authentication & responses
    • Events
      • Card.balance_adjusted
      • Card.card_reference_updated
      • Card.expiry_reminder
      • Card.registered
      • Card.send_recipient_email
      • Card.resend_recipient_email
      • Order.created
      • Order.cancelled
      • Order.send_receipt_email
      • Order.send_cancellation_email
      • Payment.failed
      • Payment.review_opened
      • Fulfilment.dispatched
  • Partner Guides
    • EPOS & Ordering
      • Overview
      • Accreditation
      • Configuration variables
      • Playground examples
      • Physical card orders
      • Custom validity rules
      • Balance check
      • Redemptions & top-ups
      • Reversals
    • Guest gratuity
      • Overview
      • Accreditation
      • Configuration variables
      • Playground examples
      • Creating a card
      • Cancelling a card
      • Register a card
    • CRM
      • Overview
      • Historic data via GraphQL
      • Real time data via webhooks
Powered by GitBook
On this page
  1. Webhooks
  2. Events

Card.resend_recipient_email

PreviousCard.send_recipient_emailNextOrder.created

Last updated 3 years ago

This event is dispatched whenever a .

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",
        }
      }
    }
  }
}
card recipient email is resent