{
"id": "00aa4abd-5778-4199-8161-0b49b2f212e5",
"webhookId": "00aa4abd-5778-4199-8161-0b49b2f212e5",
"shopId": "sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb",
"type": "SUBSCRIPTION_PURCHASED",
"apiVersion": "V1",
"createdAt": "2020-08-13T09:05:36.939+00:00",
"testMode": false,
"data": {
"id": "<string>",
"email": "supporter@fourthwall.com",
"nickname": "<string>",
"createdAt": "2020-08-13T09:05:36.939Z",
"subscription": {
"type": "ACTIVE",
"variant": {
"id": "<string>",
"tierId": "<string>",
"amount": {
"value": 10,
"currency": "USD"
},
"offerId": "<string>"
}
}
}
}Webhook Events
Subscription purchased
Fired when a new membership subscription is purchased.
WEBHOOK
SUBSCRIPTION_PURCHASED
{
"id": "00aa4abd-5778-4199-8161-0b49b2f212e5",
"webhookId": "00aa4abd-5778-4199-8161-0b49b2f212e5",
"shopId": "sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb",
"type": "SUBSCRIPTION_PURCHASED",
"apiVersion": "V1",
"createdAt": "2020-08-13T09:05:36.939+00:00",
"testMode": false,
"data": {
"id": "<string>",
"email": "supporter@fourthwall.com",
"nickname": "<string>",
"createdAt": "2020-08-13T09:05:36.939Z",
"subscription": {
"type": "ACTIVE",
"variant": {
"id": "<string>",
"tierId": "<string>",
"amount": {
"value": 10,
"currency": "USD"
},
"offerId": "<string>"
}
}
}
}Body
application/json
Response
200
Event received successfully