zulip/zerver/webhooks/stripe/fixtures/customer_discount_created.json

40 lines
1.1 KiB
JSON
Raw Normal View History

{
"created":1326853478,
"livemode":false,
"id":"customer.discount.created_00000000000000",
"type":"customer.discount.created",
"object":"event",
"request":null,
"pending_webhooks":1,
"api_version":"2018-02-28",
"data":{
"object":{
"object":"discount",
"coupon":{
"id":"25_00000000000000",
"object":"coupon",
"amount_off":null,
"created":1543438043,
"currency":null,
"duration":"repeating",
"duration_in_months":3,
"livemode":false,
"max_redemptions":null,
"metadata":{
},
"name":"25.5% off",
"percent_off":26,
"percent_off_precise":25.5,
"redeem_by":null,
"times_redeemed":0,
"valid":true
},
"customer":"cus_00000000000000",
"end":1551386843,
"start":1543438043,
"subscription":null
}
}
}