Webhooks


To get the status of a subscrition, the PoS has to receive events through a webhook URL that has to be shared with Sequra.

The events that will be published are

created

{ 
    charset: "UTF-8",
    utf: "√",
    event: "created",
    event_id: "1234",
    order_ref_1: "pos_1234"
    order_ref_2: "",
    order_ref: "060eef19-da6c-4a5b-9a43-8bf43cb63a2e",
    contract_number: "A6800001" 
}

activated

{ 
    charset: "UTF-8",
    utf: "√",
    event: "activated",
    event_id: "1234",
    order_ref_1: "pos_1234"
    order_ref_2: "",
    order_ref: "060eef19-da6c-4a5b-9a43-8bf43cb63a2e",
    activated_at: 2025-07-03 12:26:24.093525003 CEST +02:00 
 }

cancelled

{ 
    charset: "UTF-8",
    utf: "√",
    event: "cancelled",
    event_id: "1234",
    order_ref_1: "pos_1234"
    order_ref_2: "",
    order_ref: "060eef19-da6c-4a5b-9a43-8bf43cb63a2e",
    updated_at: 2025-07-03 12:26:24.093525003 CEST +02:00 
 }

updated

{ 
    charset: "UTF-8",
    utf: "√",
    event: "updated",
    event_id: "1234",
    order_ref_1: "pos_1234"
    order_ref_2: "",
    order_ref: "060eef19-da6c-4a5b-9a43-8bf43cb63a2e",
    updated_at: 2025-07-03 12:26:24.093525003 CEST +02:00 
}

payment_status_changed

{ 
    charset: "UTF-8",
    utf: "√",
    event: "payment_status_changed",
    event_id: "1234",
    order_ref_1: "pos_1234"
    order_ref_2: "",
    order_ref: "060eef19-da6c-4a5b-9a43-8bf43cb63a2e",
    successful: false,
    updated_at: 2025-07-03 12:26:24.093525003 CEST +02:00 
}