Skip to content

Instantly share code, notes, and snippets.

View tshuck's full-sized avatar

Truman Shuck tshuck

View GitHub Profile
@tshuck
tshuck / keybase.md
Last active January 4, 2019 17:28
keybase.md

Keybase proof

I hereby claim:

  • I am tshuck on github.
  • I am trumanshuck (https://keybase.io/trumanshuck) on keybase.
  • I have a public key ASCpjtX5-GwkSq39Mv7ELoyPt_M_aP_aXUqSIAdSVuULogo

To claim this, I am signing this object:

@tshuck
tshuck / point-adjustment-manual.txt
Last active February 13, 2018 16:53
Hatch Webhook -- Manual Point Adjustment
{
"data": {
"type": "webhook",
"id": "6c556e92-301c-43fc-8891-9bafa85ed70f",
"attributes": {
"event": "points.manual",
"payload": {
"membership": {
"id": "354067ec-ff43-487b-91ed-9134ac79954d",
"chain_id": "24f31117-4457-4e4b-be45-15831a220acc",
@tshuck
tshuck / point-reduction-redemption.txt
Last active February 13, 2018 16:52
Hatch Webhook -- Point Reduction via Reward Redemption
{
"data": {
"type": "webhook",
"id": "6c556e92-301c-43fc-8891-9bafa85ed70f",
"attributes": {
"event": "points.redemption",
"payload": {
"membership": {
"id": "354067ec-ff43-487b-91ed-9134ac79954d",
"chain_id": "24f31117-4457-4e4b-be45-15831a220acc",
@tshuck
tshuck / point-accrual-loyalty.txt
Last active February 13, 2018 16:50
Hatch Webhook -- Point Accrual via Loyalty Event
{
"data": {
"type": "webhook",
"id": "6c556e92-301c-43fc-8891-9bafa85ed70f",
"attributes": {
"event": "points.loyalty_event",
"payload": {
"membership": {
"id": "354067ec-ff43-487b-91ed-9134ac79954d",
"chain_id": "24f31117-4457-4e4b-be45-15831a220acc",
@tshuck
tshuck / point-accrual-transaction.txt
Last active February 13, 2018 16:48
Hatch Webhook -- Point Accrual via Transaction
{
"data": {
"type": "webhook",
"id": "6c556e92-301c-43fc-8891-9bafa85ed70f",
"attributes": {
"event": "points.transaction",
"payload": {
"membership": {
"id": "354067ec-ff43-487b-91ed-9134ac79954d",
"chain_id": "24f31117-4457-4e4b-be45-15831a220acc",
@tshuck
tshuck / password-reset.txt
Last active January 25, 2018 20:46
Hatch Webhook -- Password Reset
{
"data": {
"type": "webhook",
"id": "6c556e92-301c-43fc-8891-9bafa85ed70f",
"attributes": {
"event": "password_reset",
"payload": {
"password_reset": {
"id": "JRroFoxVdLQav91un8Mg"
},
@tshuck
tshuck / basic-structure.txt
Last active January 29, 2018 15:26
Hatch Webhook -- Basic Structure
{
"data": {
"type": "webhook",
"id": "uuid for the webhook request",
"attributes": {
"event": "one of a set of predefined event types, e.g., 'password_reset'",
"payload": {
// A collection of event-specific objects that provide
// details on the event and its surrounding context
}