⇣ POST /redemption_notification

Whenever a ticket is redeemed by the supplier, you'll receive a ticket redemption notification.

The request will be made by City Connect as a POST to the notification_url you setup in your account, and the path will be appended to it.

For example: POST https://api.example.com/cc/notifications/ticket_redemption

An example is shown below:

{
  "supplier": "[email protected]",
  "supplier_reference": "BOOKING00004232",
  "agent": "viator.com",
  "reference": "VIATOR0000424123",
  "ticket": {
    "type": "adult",
    "barcode": "7485936482"
  },
  "product": "WINETOUR",
  "option": "WITHLUNCH",
  "pickup": "Tour Office & Travel Depot",
  "date": "2017-10-07",
  "time": "10:30",
  "adult": 2,
  "child": 1,
  "customer": {
    "first_name": "John",
    "last_name": "Smith",
    "email": "[email protected]",
    "mobile": "+17345551212",
    "language": "en",
    "country": "GB"
  },
  "mobile": true,
  "barcode": "128465552",
  "tickets": [
    { "type": "adult", "barcode": "7485936482", "redeemed": true },
    { "type": "adult", "barcode": "2512356846", "redeemed": false },
    { "type": "child", "barcode": "9257377533", "redeemed": false }
  ],
  "notes": "Allergic to nuts"
}

The ticket object will represent the exact ticket that was redeemed, otherwise the rest of the response is identical to the booking notification.