Skip to content

Instantly share code, notes, and snippets.

@dmytrostriletskyi
Created November 29, 2025 14:57
Show Gist options
  • Select an option

  • Save dmytrostriletskyi/9e8372fcfc8b8bbf6c14cfddb226e28e to your computer and use it in GitHub Desktop.

Select an option

Save dmytrostriletskyi/9e8372fcfc8b8bbf6c14cfddb226e28e to your computer and use it in GitHub Desktop.
{
"id": "evt_68JaOLmQmIQgonw7wmf5a4",
"eventType": "subscription.paid",
"created_at": 1764423534962,
"object": {
"id": "sub_183gszuVfgg9EWwFZSAjyA",
"object": "subscription",
"product": {
"id": "prod_5SDEiy7MOBuRseteVFmLrI",
"object": "product",
"name": "Standard",
"description": "Work at your pace, grasping fresh ideas and solutions worth trying.",
"price": 899,
"currency": "USD",
"billing_type": "recurring",
"billing_period": "every-month",
"status": "active",
"tax_mode": "exclusive",
"tax_category": "saas",
"default_success_url": "https://playbookster.com/billing/",
"created_at": "2025-11-11T16:13:38.516Z",
"updated_at": "2025-11-11T16:13:38.516Z",
"mode": "test"
},
"customer": {
"id": "cust_6uhPU592rU8bBxUMSJ6dQu",
"object": "customer",
"email": "[email protected]",
"name": "Dmytro Striletskyi",
"country": "UA",
"created_at": "2025-11-12T07:29:11.562Z",
"updated_at": "2025-11-12T07:29:11.562Z",
"mode": "test"
},
"items": [
{
"object": "subscription_item",
"id": "sitem_6rsQGrtacNzBuSic4SbY7M",
"product_id": "prod_5SDEiy7MOBuRseteVFmLrI",
"price_id": "pprice_4riYBUYesruWPYgicJHRbd",
"units": 1,
"created_at": "2025-11-29T13:38:48.586Z",
"updated_at": "2025-11-29T13:38:48.586Z",
"mode": "test"
}
],
"collection_method": "charge_automatically",
"status": "active",
"last_transaction_id": "tran_67Vrc7payoKR14koAXdLZH",
"last_transaction": {
"id": "tran_67Vrc7payoKR14koAXdLZH",
"object": "transaction",
"amount": 899,
"amount_paid": 899,
"currency": "USD",
"type": "invoice",
"tax_country": "UA",
"tax_amount": 0,
"status": "paid",
"refunded_amount": null,
"order": "ord_NU77vGTHplCE0Y434DG89",
"subscription": "sub_183gszuVfgg9EWwFZSAjyA",
"customer": null,
"description": "Subscription payment",
"period_start": 1764423524000,
"period_end": 1767015524000,
"created_at": 1764423531834,
"mode": "test"
},
"last_transaction_date": "2025-11-29T13:38:44.000Z",
"next_transaction_date": "2025-12-29T13:38:44.000Z",
"current_period_start_date": "2025-11-29T13:38:44.000Z",
"current_period_end_date": "2025-12-29T13:38:44.000Z",
"canceled_at": null,
"created_at": "2025-11-29T13:38:48.574Z",
"updated_at": "2025-11-29T13:38:52.550Z",
"metadata": {
"user_id": 1
},
"mode": "test"
}
}
@SmokeeyDeStoneer420
Copy link

Good

@SmokeeyDeStoneer420
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment