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.card_reference_updated

This event is dispatched when a card_reference is updated

Example payload

{
  "id": 576,
  "object": "event",
  "api_version": "3.2",
  "webhook_version": "1.0",
  "created_at": "2021-04-11T16:06:54.000000Z",
  "type": "card.card_reference_updated",
  "data": {
    "object": {
      "object": "card",
      "id": 356,
      "balance": 1000,
      "card_reference": "12345",
      "pin": "1234",
      "expiry_time": "2021-03-27T23:59:59.000000Z",
      "validity_start_time": "2021-03-12T00:00:00.000000Z",
      "personal_message": null,
      "qr_code_url": "https://apimytoggleio-dev.airship.co.uk/qrcodegenerator/12345",
      "account_id": 1
    }
  }
}
PreviousCard.balance_adjustedNextCard.expiry_reminder

Last updated 3 years ago

On This Page

Example payload