docs
  1. SCAYLE Developer Guides
  2. Customise & Extend
  3. Webhooks
  4. Events
  5. Vouchercodecreationrequest Created

VoucherCodeCreationRequest Created

Get notified when an existing customer resets the password.

Example:

{
    "key": "1f3e35e7-92b0-4ad2-b596-a215615398d4",
    "occurredAt": "2018-01-20T09:30:15+00:00",
    "payload": {
        "id": 1,
        "created_at": "2022-08-03T18:40:59+0200",
        "ended_processing_at": null,
        "quantity": 1,
        "started_processing_at": "2022-07-01T00:00:00+0200",
        "status": "Pending",
        "updated_at": "2022-08-03T18:40:59+0200",
        "voucher_id": 1
    },
    "type": "voucher-code-creation-request-created"
}


Properties:

  • key string
  • occurredAt string
  • payload object
    • id integer
    • created_at string,null
    • ended_processing_at string,null
    • quantity integer
    • started_processing_at string,null
    • status enum (Pending Processing Failed Completed Cancelled)
    • updated_at string,null
    • voucher_id integer
  • type enum (voucher-code-creation-request-created)