mock_chargebee 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/Gemfile +2 -0
  4. data/LICENSE +21 -0
  5. data/README.md +2 -0
  6. data/lib/mock_chargebee/environment.rb +13 -0
  7. data/lib/mock_chargebee/errors.rb +15 -0
  8. data/lib/mock_chargebee/fixtures/coupon.json +18 -0
  9. data/lib/mock_chargebee/fixtures/customer.json +35 -0
  10. data/lib/mock_chargebee/fixtures/subscription.json +29 -0
  11. data/lib/mock_chargebee/fixtures/subscription_cancel_response.json +140 -0
  12. data/lib/mock_chargebee/fixtures/subscription_create_response.json +138 -0
  13. data/lib/mock_chargebee/fixtures/subscription_reactivate_response.json +110 -0
  14. data/lib/mock_chargebee/fixtures/webhooks/addon_created.json +32 -0
  15. data/lib/mock_chargebee/fixtures/webhooks/addon_deleted.json +29 -0
  16. data/lib/mock_chargebee/fixtures/webhooks/addon_updated.json +32 -0
  17. data/lib/mock_chargebee/fixtures/webhooks/authorization_succeeded.json +37 -0
  18. data/lib/mock_chargebee/fixtures/webhooks/authorization_voided.json +1 -0
  19. data/lib/mock_chargebee/fixtures/webhooks/card_added.json +1 -0
  20. data/lib/mock_chargebee/fixtures/webhooks/card_deleted.json +1 -0
  21. data/lib/mock_chargebee/fixtures/webhooks/card_expired.json +1 -0
  22. data/lib/mock_chargebee/fixtures/webhooks/card_expiry_reminder.json +1 -0
  23. data/lib/mock_chargebee/fixtures/webhooks/card_updated.json +1 -0
  24. data/lib/mock_chargebee/fixtures/webhooks/coupon_codes_added.json +1 -0
  25. data/lib/mock_chargebee/fixtures/webhooks/coupon_codes_deleted.json +1 -0
  26. data/lib/mock_chargebee/fixtures/webhooks/coupon_codes_updated.json +1 -0
  27. data/lib/mock_chargebee/fixtures/webhooks/coupon_created.json +1 -0
  28. data/lib/mock_chargebee/fixtures/webhooks/coupon_deleted.json +1 -0
  29. data/lib/mock_chargebee/fixtures/webhooks/coupon_set_created.json +1 -0
  30. data/lib/mock_chargebee/fixtures/webhooks/coupon_set_deleted.json +1 -0
  31. data/lib/mock_chargebee/fixtures/webhooks/coupon_set_updated.json +1 -0
  32. data/lib/mock_chargebee/fixtures/webhooks/coupon_updated.json +1 -0
  33. data/lib/mock_chargebee/fixtures/webhooks/credit_note_created.json +1 -0
  34. data/lib/mock_chargebee/fixtures/webhooks/credit_note_deleted.json +1 -0
  35. data/lib/mock_chargebee/fixtures/webhooks/credit_note_updated.json +1 -0
  36. data/lib/mock_chargebee/fixtures/webhooks/customer_changed.json +1 -0
  37. data/lib/mock_chargebee/fixtures/webhooks/customer_created.json +1 -0
  38. data/lib/mock_chargebee/fixtures/webhooks/customer_deleted.json +1 -0
  39. data/lib/mock_chargebee/fixtures/webhooks/customer_moved_in.json +1 -0
  40. data/lib/mock_chargebee/fixtures/webhooks/customer_moved_out.json +1 -0
  41. data/lib/mock_chargebee/fixtures/webhooks/gift_cancelled.json +1 -0
  42. data/lib/mock_chargebee/fixtures/webhooks/gift_claimed.json +1 -0
  43. data/lib/mock_chargebee/fixtures/webhooks/gift_expired.json +1 -0
  44. data/lib/mock_chargebee/fixtures/webhooks/gift_scheduled.json +1 -0
  45. data/lib/mock_chargebee/fixtures/webhooks/gift_unclaimed.json +1 -0
  46. data/lib/mock_chargebee/fixtures/webhooks/invoice_deleted.json +1 -0
  47. data/lib/mock_chargebee/fixtures/webhooks/invoice_generated.json +1 -0
  48. data/lib/mock_chargebee/fixtures/webhooks/invoice_updated.json +1 -0
  49. data/lib/mock_chargebee/fixtures/webhooks/order_cancelled.json +1 -0
  50. data/lib/mock_chargebee/fixtures/webhooks/order_created.json +1 -0
  51. data/lib/mock_chargebee/fixtures/webhooks/order_delivered.json +1 -0
  52. data/lib/mock_chargebee/fixtures/webhooks/order_ready_to_process.json +1 -0
  53. data/lib/mock_chargebee/fixtures/webhooks/order_ready_to_ship.json +1 -0
  54. data/lib/mock_chargebee/fixtures/webhooks/order_returned.json +1 -0
  55. data/lib/mock_chargebee/fixtures/webhooks/order_updated.json +1 -0
  56. data/lib/mock_chargebee/fixtures/webhooks/payment_failed.json +1 -0
  57. data/lib/mock_chargebee/fixtures/webhooks/payment_initiated.json +1 -0
  58. data/lib/mock_chargebee/fixtures/webhooks/payment_intent_created.json +1 -0
  59. data/lib/mock_chargebee/fixtures/webhooks/payment_intent_updated.json +1 -0
  60. data/lib/mock_chargebee/fixtures/webhooks/payment_refunded.json +1 -0
  61. data/lib/mock_chargebee/fixtures/webhooks/payment_source_added.json +1 -0
  62. data/lib/mock_chargebee/fixtures/webhooks/payment_source_deleted.json +1 -0
  63. data/lib/mock_chargebee/fixtures/webhooks/payment_source_updated.json +1 -0
  64. data/lib/mock_chargebee/fixtures/webhooks/payment_succeeded.json +1 -0
  65. data/lib/mock_chargebee/fixtures/webhooks/pending_invoice_created.json +1 -0
  66. data/lib/mock_chargebee/fixtures/webhooks/pending_invoice_updated.json +1 -0
  67. data/lib/mock_chargebee/fixtures/webhooks/plan_created.json +37 -0
  68. data/lib/mock_chargebee/fixtures/webhooks/plan_deleted.json +1 -0
  69. data/lib/mock_chargebee/fixtures/webhooks/plan_updated.json +39 -0
  70. data/lib/mock_chargebee/fixtures/webhooks/promotional_credits_added.json +1 -0
  71. data/lib/mock_chargebee/fixtures/webhooks/promotional_credits_deducted.json +1 -0
  72. data/lib/mock_chargebee/fixtures/webhooks/refund_initiated.json +1 -0
  73. data/lib/mock_chargebee/fixtures/webhooks/subscription_activated.json +1 -0
  74. data/lib/mock_chargebee/fixtures/webhooks/subscription_cancellation_reminder.json +1 -0
  75. data/lib/mock_chargebee/fixtures/webhooks/subscription_cancellation_scheduled.json +1 -0
  76. data/lib/mock_chargebee/fixtures/webhooks/subscription_cancelled.json +1 -0
  77. data/lib/mock_chargebee/fixtures/webhooks/subscription_changed.json +1 -0
  78. data/lib/mock_chargebee/fixtures/webhooks/subscription_changes_scheduled.json +1 -0
  79. data/lib/mock_chargebee/fixtures/webhooks/subscription_created.json +1 -0
  80. data/lib/mock_chargebee/fixtures/webhooks/subscription_deleted.json +1 -0
  81. data/lib/mock_chargebee/fixtures/webhooks/subscription_pause_scheduled.json +1 -0
  82. data/lib/mock_chargebee/fixtures/webhooks/subscription_paused.json +1 -0
  83. data/lib/mock_chargebee/fixtures/webhooks/subscription_reactivated.json +1 -0
  84. data/lib/mock_chargebee/fixtures/webhooks/subscription_renewal_reminder.json +1 -0
  85. data/lib/mock_chargebee/fixtures/webhooks/subscription_renewed.json +1 -0
  86. data/lib/mock_chargebee/fixtures/webhooks/subscription_resumed.json +1 -0
  87. data/lib/mock_chargebee/fixtures/webhooks/subscription_resumption_scheduled.json +1 -0
  88. data/lib/mock_chargebee/fixtures/webhooks/subscription_scheduled_cancellation_removed.json +1 -0
  89. data/lib/mock_chargebee/fixtures/webhooks/subscription_scheduled_changes_removed.json +1 -0
  90. data/lib/mock_chargebee/fixtures/webhooks/subscription_scheduled_pause_removed.json +1 -0
  91. data/lib/mock_chargebee/fixtures/webhooks/subscription_scheduled_resumption_removed.json +1 -0
  92. data/lib/mock_chargebee/fixtures/webhooks/subscription_shipping_address_updated.json +1 -0
  93. data/lib/mock_chargebee/fixtures/webhooks/subscription_started.json +1 -0
  94. data/lib/mock_chargebee/fixtures/webhooks/subscription_trial_end_reminder.json +1 -0
  95. data/lib/mock_chargebee/fixtures/webhooks/transaction_created.json +1 -0
  96. data/lib/mock_chargebee/fixtures/webhooks/transaction_deleted.json +1 -0
  97. data/lib/mock_chargebee/fixtures/webhooks/transaction_updated.json +1 -0
  98. data/lib/mock_chargebee/fixtures/webhooks/unbilled_charges_created.json +1 -0
  99. data/lib/mock_chargebee/fixtures/webhooks/unbilled_charges_deleted.json +1 -0
  100. data/lib/mock_chargebee/fixtures/webhooks/unbilled_charges_invoiced.json +1 -0
  101. data/lib/mock_chargebee/fixtures/webhooks/unbilled_charges_voided.json +1 -0
  102. data/lib/mock_chargebee/fixtures/webhooks/virtual_bank_account_added.json +1 -0
  103. data/lib/mock_chargebee/fixtures/webhooks/virtual_bank_account_deleted.json +1 -0
  104. data/lib/mock_chargebee/fixtures/webhooks/virtual_bank_account_updated.json +1 -0
  105. data/lib/mock_chargebee/models/base.rb +24 -0
  106. data/lib/mock_chargebee/models/coupon.rb +25 -0
  107. data/lib/mock_chargebee/models/customer.rb +23 -0
  108. data/lib/mock_chargebee/models/subscription.rb +68 -0
  109. data/lib/mock_chargebee/repositories.rb +25 -0
  110. data/lib/mock_chargebee/request.rb +19 -0
  111. data/lib/mock_chargebee/request_handlers/base.rb +37 -0
  112. data/lib/mock_chargebee/request_handlers/coupons.rb +15 -0
  113. data/lib/mock_chargebee/request_handlers/customers.rb +26 -0
  114. data/lib/mock_chargebee/request_handlers/subscriptions.rb +43 -0
  115. data/lib/mock_chargebee/services/apply_coupons.rb +40 -0
  116. data/lib/mock_chargebee/util.rb +48 -0
  117. data/lib/mock_chargebee/validations/base.rb +11 -0
  118. data/lib/mock_chargebee/validations/coupons.rb +11 -0
  119. data/lib/mock_chargebee/validations/subscriptions.rb +11 -0
  120. data/lib/mock_chargebee/validations/webhooks.rb +15 -0
  121. data/lib/mock_chargebee/version.rb +5 -0
  122. data/lib/mock_chargebee/webhook.rb +26 -0
  123. data/lib/mock_chargebee.rb +43 -0
  124. data/mock_chargebee.gemspec +29 -0
  125. metadata +250 -0
@@ -0,0 +1,37 @@
1
+ {
2
+ "api_version": "v2",
3
+ "content": {
4
+ "transaction": {
5
+ "amount": 1000,
6
+ "amount_capturable": 1000,
7
+ "authorization_reason": "blocking_funds",
8
+ "base_currency_code": "USD",
9
+ "currency_code": "USD",
10
+ "customer_id": "5SK0b4wDR6XfDML1A",
11
+ "date": 1539600584,
12
+ "deleted": false,
13
+ "exchange_rate": 1,
14
+ "fraud_reason": "Payment complete.",
15
+ "gateway": "stripe",
16
+ "gateway_account_id": "gw_5SK0b4zCR6Xf0ix4",
17
+ "id": "txn_5SK0b4wDR6XfE8E1F",
18
+ "id_at_gateway": "ch_1DLTds2moDuOTz4l3VDnrUd9",
19
+ "linked_payments": [],
20
+ "masked_card_number": "************4242",
21
+ "object": "transaction",
22
+ "payment_method": "card",
23
+ "payment_source_id": "pm_5SK0b4wDR6XfE6d1C",
24
+ "resource_version": 1456829403000,
25
+ "status": "success",
26
+ "type": "authorization",
27
+ "updated_at": 1456829403
28
+ }
29
+ },
30
+ "event_type": "authorization_succeeded",
31
+ "id": "ev_5SK0b4wDR6XfENP1G",
32
+ "object": "event",
33
+ "occurred_at": 1456829403,
34
+ "source": "api",
35
+ "user": "full_access_key_v1",
36
+ "webhook_status": "not_configured"
37
+ }
@@ -0,0 +1 @@
1
+ {"api_version":"v2","content":{"transaction":{"amount":1000,"amount_capturable":0,"authorization_reason":"blocking_funds","base_currency_code":"USD","currency_code":"USD","customer_id":"5SK0b4wDR6XfDML1A","date":1539600584,"deleted":false,"exchange_rate":1,"fraud_reason":"Payment complete.","gateway":"stripe","gateway_account_id":"gw_5SK0b4zCR6Xf0ix4","id":"txn_5SK0b4wDR6XfE8E1F","id_at_gateway":"ch_1DLTds2moDuOTz4l3VDnrUd9","linked_payments":[],"masked_card_number":"************4242","object":"transaction","payment_method":"card","payment_source_id":"pm_5SK0b4wDR6XfE6d1C","resource_version":1456829404000,"status":"voided","type":"authorization","updated_at":1456829404,"voided_at":1539600585}},"event_type":"authorization_voided","id":"ev_5SK0b4wDR6XfEbR1H","object":"event","occurred_at":1456829404,"source":"api","user":"full_access_key_v1","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFqJjE","occurred_at":1341085226,"source":"admin_console","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1341085225,"resource_version":1341085225000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGFpzgB","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFpzJA","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"card_added","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGGC8r69","occurred_at":1367437312,"source":"admin_console","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Joe","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"off","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1367437312,"resource_version":1367437312000,"deleted":false,"object":"customer","card_status":"no_card","promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"card_deleted","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFwLk1h","occurred_at":1349029801,"source":"scheduled_job","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1349029801,"resource_version":1349029801000,"deleted":false,"object":"customer","card_status":"expired","primary_payment_source_id":"pm_3Nl7oGgQqGFpzgB","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFpzJA","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"expired"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"card_expired","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFucU1B","occurred_at":1346437801,"source":"scheduled_job","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1341085225,"resource_version":1341085225000,"deleted":false,"object":"customer","card_status":"expiring","primary_payment_source_id":"pm_3Nl7oGgQqGFpzgB","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFpzJA","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"expiring"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"card_expiry_reminder","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFwiX1l","occurred_at":1349120450,"source":"admin_console","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1349120450,"resource_version":1349120450000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGFwhb1k","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFwhM1j","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"card_updated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlll3D","occurred_at":1341085212,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"coupon_set":{"id":"cs_uiuasd","coupon_id":"beta","name":"cs_uiuasd","object":"coupon_set","total_count":2,"redeemed_count":0,"archived_count":0}},"event_type":"coupon_codes_added","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlo33F","occurred_at":1341085212,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"coupon_set":{"id":"cs_uiuasd","coupon_id":"beta","name":"cs_uiuasd","object":"coupon_set","total_count":1,"redeemed_count":0,"archived_count":1}},"event_type":"coupon_codes_deleted","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlms3E","occurred_at":1341085212,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"coupon_set":{"id":"cs_uiuasd","coupon_id":"beta","name":"cs_uiuasd","object":"coupon_set","total_count":2,"redeemed_count":0,"archived_count":1}},"event_type":"coupon_codes_updated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_AzqgumSAx2EZO5Uy","occurred_at":1600440261,"source":"admin_console","user":"user@example.com","object":"event","api_version":"v2","content":{"coupon":{"id":"COVID-1950%OFFFOR6MONTHS","name":"COVID-19 50% off for 6 months","invoice_name":"","discount_type":"percentage","discount_percentage":50.0,"duration_type":"limited_period","duration_month":6,"status":"active","apply_discount_on":"not_applicable","apply_on":"invoice_amount","plan_constraint":"not_applicable","addon_constraint":"not_applicable","created_at":1600440261,"updated_at":1600440261,"resource_version":1600440261157,"object":"coupon","redemptions":0}},"event_type":"coupon_created","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFm8f3T","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"coupon":{"id":"offer","name":"Offer","discount_type":"fixed_amount","discount_amount":10,"duration_type":"forever","status":"deleted","apply_discount_on":"not_applicable","apply_on":"each_specified_item","plan_constraint":"none","addon_constraint":"none","created_at":1341085213,"updated_at":1341085213,"resource_version":1341085213000,"object":"coupon","redemptions":0,"currency_code":"USD"}},"event_type":"coupon_deleted","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFli53C","occurred_at":1341085212,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"coupon_set":{"id":"cs_uiuasd","coupon_id":"beta","name":"cs_uiuasd","object":"coupon_set","total_count":0,"redeemed_count":0,"archived_count":0}},"event_type":"coupon_set_created","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlsO3I","occurred_at":1341085212,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"coupon_set":{"id":"cs_uuytqwe","coupon_id":"beta","name":"cs_aaasdasds","object":"coupon_set","total_count":0,"redeemed_count":0,"archived_count":0}},"event_type":"coupon_set_deleted","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlr33H","occurred_at":1341085212,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"coupon_set":{"id":"cs_uuytqwe","coupon_id":"beta","name":"cs_aaasdasds","object":"coupon_set","total_count":0,"redeemed_count":0,"archived_count":0}},"event_type":"coupon_set_updated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFm6w3S","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"coupon":{"id":"offer","name":"Offer","discount_type":"fixed_amount","discount_amount":10,"duration_type":"forever","status":"active","apply_discount_on":"not_applicable","apply_on":"each_specified_item","plan_constraint":"none","addon_constraint":"none","created_at":1341085213,"updated_at":1341085213,"resource_version":1341085213000,"object":"coupon","redemptions":0,"currency_code":"USD"}},"event_type":"coupon_updated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGG02Y3T","occurred_at":1362253266,"source":"admin_console","object":"event","api_version":"v2","content":{"credit_note":{"id":"TEST-CN-1","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","reference_invoice_id":"3","type":"refundable","reason_code":"subscription_change","status":"refund_due","date":1362253266,"price_type":"tax_exclusive","exchange_rate":1.0,"total":871,"amount_allocated":0,"amount_refunded":0,"amount_available":871,"updated_at":1362253266,"resource_version":1362253266000,"deleted":false,"object":"credit_note","currency_code":"USD","round_off_amount":0,"base_currency_code":"USD","sub_total":871,"line_items":[{"id":"li_3Nl7oGgQqGFzvK3N","date_from":1362253265,"date_to":1364845254,"unit_amount":871,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":871,"description":"Basic - Prorated Credits for 03-Mar-2013 - 02-Apr-2013","entity_type":"plan","entity_id":"basic","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"taxes":[],"line_item_taxes":[],"line_item_discounts":[],"linked_refunds":[],"allocations":[]}},"event_type":"credit_note_created","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGGPpB6f","occurred_at":1367523763,"source":"admin_console","object":"event","api_version":"v2","content":{"credit_note":{"id":"TEST-CN-4_171000000014","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","reference_invoice_id":"1","type":"refundable","reason_code":"waiver","status":"refund_due","date":1367523763,"price_type":"tax_exclusive","exchange_rate":1.0,"total":100,"amount_allocated":0,"amount_refunded":0,"amount_available":100,"updated_at":1367523763,"resource_version":1367523763000,"deleted":true,"object":"credit_note","currency_code":"USD","round_off_amount":0,"base_currency_code":"USD","sub_total":100,"line_items":[{"id":"li_3Nl7oGgQqGGPjK6X","date_from":1367523763,"date_to":1367523763,"unit_amount":90,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":90,"description":"basic description1","entity_type":"plan","entity_id":"basic","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0},{"id":"li_3Nl7oGgQqGGPjL6Y","date_from":1367523763,"date_to":1367523763,"unit_amount":10,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":10,"description":"Data Usage","entity_type":"addon","entity_id":"data_usage","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"taxes":[],"line_item_taxes":[],"line_item_discounts":[],"linked_refunds":[],"allocations":[]}},"event_type":"credit_note_deleted","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGG8U34r","occurred_at":1364845255,"source":"scheduled_job","object":"event","api_version":"v2","content":{"credit_note":{"id":"TEST-CN-1","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","reference_invoice_id":"3","type":"refundable","reason_code":"subscription_change","status":"refunded","date":1362253266,"price_type":"tax_exclusive","exchange_rate":1.0,"total":871,"amount_allocated":871,"amount_refunded":0,"amount_available":0,"refunded_at":1364845255,"updated_at":1364845255,"resource_version":1364845255000,"deleted":false,"object":"credit_note","currency_code":"USD","round_off_amount":0,"base_currency_code":"USD","sub_total":871,"line_items":[{"id":"li_3Nl7oGgQqGFzvK3N","date_from":1362253265,"date_to":1364845254,"unit_amount":871,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":871,"description":"Basic - Prorated Credits for 03-Mar-2013 - 02-Apr-2013","entity_type":"plan","entity_id":"basic","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"taxes":[],"line_item_taxes":[],"line_item_discounts":[],"linked_refunds":[],"allocations":[{"allocated_amount":871,"allocated_at":1364845255,"invoice_id":"6","invoice_date":1364845254,"invoice_status":"payment_due"}]}},"event_type":"credit_note_updated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_AzqgumSAxXrFLAxn","occurred_at":1600447798,"source":"admin_console","user":"user@example.com","object":"event","api_version":"v2","content":{"customer":{"id":"16CHTnSAxXWqMAg8","company":"Test Company with Plan","auto_collection":"off","net_term_days":0,"allow_direct_debit":false,"created_at":1600447719,"taxability":"taxable","updated_at":1600447797,"locale":"en","pii_cleared":"active","resource_version":1600447797996,"deleted":false,"object":"customer","card_status":"no_card","promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"customer_changed","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_16CHTnSAxXWqQAg9","occurred_at":1600447719,"source":"admin_console","user":"user@example.com","object":"event","api_version":"v2","content":{"customer":{"id":"16CHTnSAxXWqMAg8","company":"Test Company with Plan","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1600447719,"taxability":"taxable","updated_at":1600447719,"locale":"en","pii_cleared":"active","resource_version":1600447719572,"deleted":false,"object":"customer","card_status":"no_card","promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"customer_created","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGGS4673","occurred_at":1359833508,"source":"admin_console","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Joe","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"off","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1359833508,"resource_version":1359833508000,"deleted":true,"object":"customer","card_status":"no_card","promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"},"subscriptions":[{"id":"3Nl7oGgQqGFprj9","customer_id":"3Nl7oGgQqGFprj9","plan_id":"no_trial","plan_quantity":1,"plan_unit_price":1000,"billing_period":1,"billing_period_unit":"month","plan_free_quantity":0,"status":"active","trial_start":1341690024,"trial_end":1344368424,"current_term_start":1367437254,"current_term_end":1370115654,"next_billing_at":1370115654,"created_at":1341085225,"started_at":1341690024,"activated_at":1362166854,"updated_at":1359833508,"has_scheduled_changes":false,"resource_version":1359833508000,"deleted":true,"object":"subscription","currency_code":"USD","addons":[{"id":"data_usage","quantity":1,"unit_price":95,"object":"addon"}],"due_invoices_count":1,"due_since":1367437254,"total_dues":1095,"mrr":1095,"exchange_rate":1.0,"base_currency_code":"USD","shipping_address":{"first_name":"Benjamin","last_name":"Ross","company":"Acme Inc","phone":"+1 (614) 226-4809","line1":"345, Redington Av","line2":"Suite 1200","city":"Los Angeles","state_code":"CA","state":"California","country":"US","validation_status":"not_validated","object":"shipping_address"}}]},"event_type":"customer_deleted","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGGeYI7w","occurred_at":1368128630,"source":"scheduled_job","object":"event","api_version":"v2","content":{"customer":{"id":"copyCustomer","auto_collection":"off","net_term_days":0,"allow_direct_debit":false,"created_at":1367610198,"taxability":"taxable","updated_at":1368128630,"resource_version":1368128630000,"deleted":false,"object":"customer","card_status":"no_card","promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"customer_moved_in","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGGeZn7x","occurred_at":1368128630,"source":"scheduled_job","object":"event","api_version":"v2","content":{"customer":{"id":"copyCustomer","auto_collection":"off","net_term_days":0,"allow_direct_debit":false,"created_at":1367610198,"taxability":"taxable","updated_at":1368128630,"resource_version":1368128630000,"deleted":false,"object":"customer","card_status":"no_card","promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"customer_moved_out","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"api_version":"v2","content":{"gift":{"auto_claim":false,"gift_receiver":{"customer_id":"XpbGHg6R6eJHnB90","email":"bhairav@test.com","first_name":"Bhaiyu","last_name":"Boy","object":"gift_receiver","subscription_id":"XpbGHg6R6eJHp792"},"gift_timelines":[{"object":"gift_timeline","occurred_at":1469172601,"status":"scheduled"},{"object":"gift_timeline","occurred_at":1469172601,"status":"cancelled"}],"gifter":{"customer_id":"XpbGHg6R6eJHgL8o","invoice_id":"__demo_inv__21","note":"Yours lovingly","object":"gifter","signature":"Sangi"},"id":"XpbGHg6R6eJHv099hOaxkSqFAj0W1zlMQOwaLg0eB3PDDKwp","object":"gift","resource_version":1469172601000,"scheduled_at":1469172605,"status":"cancelled","updated_at":1469172601}},"event_type":"gift_cancelled","id":"ev_XpbGHg6R6eJI1m9E","object":"event","occurred_at":1469172601,"source":"api","user":"full_access_key_v1","webhook_status":"scheduled"}
@@ -0,0 +1 @@
1
+ {"api_version":"v2","content":{"gift":{"auto_claim":true,"gift_receiver":{"customer_id":"XpbGHg6R6eJKORAw","email":"sangeetha@test.com","first_name":"Sangeetha","last_name":"B","object":"gift_receiver","subscription_id":"XpbGHg6R6eJKiWBM"},"gift_timelines":[{"object":"gift_timeline","occurred_at":1469172608,"status":"claimed"},{"object":"gift_timeline","occurred_at":1469172602,"status":"scheduled"}],"gifter":{"customer_id":"XpbGHg6R6eJKRxB2","invoice_id":"__demo_inv__27","note":"Bow bow","object":"gifter","signature":"Bhaiyu"},"id":"XpbGHg6R6eJKv4BUIthavUWn2KioKacu3pkscukqTjQZg5YS83","object":"gift","resource_version":1469172608000,"scheduled_at":1469172607,"status":"claimed","updated_at":1469172608}},"event_type":"gift_claimed","id":"ev_XpbGHjSR6eJLBp1e","object":"event","occurred_at":1469172608,"source":"scheduled_job","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"api_version":"v2","content":{"gift":{"auto_claim":false,"claim_expiry_date":1469604601,"gift_receiver":{"customer_id":"XpbGHg6R6eJKVQB8","email":"bhairav@test.com","first_name":"Bhaiyu","last_name":"Boy","object":"gift_receiver","subscription_id":"XpbGHg6R6eJKXDBA"},"gift_timelines":[{"object":"gift_timeline","occurred_at":1469604602,"status":"expired"},{"object":"gift_timeline","occurred_at":1469172607,"status":"unclaimed"},{"object":"gift_timeline","occurred_at":1469172601,"status":"scheduled"}],"gifter":{"customer_id":"XpbGHg6R6eJKORAw","invoice_id":"__demo_inv__26","note":"Yours lovingly","object":"gifter","signature":"Sangi"},"id":"XpbGHg6R6eJKe7BH2cu0laxNQ2CNu29QEvvFzQcu94maf3dHeR","object":"gift","resource_version":1469604602000,"scheduled_at":1469172606,"status":"expired","updated_at":1469604602}},"event_type":"gift_expired","id":"ev_XpbGHjSR6eJLJc1m","object":"event","occurred_at":1469604602,"source":"scheduled_job","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"api_version":"v2","content":{"gift":{"auto_claim":false,"claim_expiry_date":1469604601,"gift_receiver":{"customer_id":"XpbGHg6R6eJKVQB8","email":"bhairav@test.com","first_name":"Bhaiyu","last_name":"Boy","object":"gift_receiver","subscription_id":"XpbGHg6R6eJKXDBA"},"gift_timelines":[{"object":"gift_timeline","occurred_at":1469172601,"status":"scheduled"}],"gifter":{"customer_id":"XpbGHg6R6eJKORAw","invoice_id":"__demo_inv__26","note":"Yours lovingly","object":"gifter","signature":"Sangi"},"id":"XpbGHg6R6eJKe7BH2cu0laxNQ2CNu29QEvvFzQcu94maf3dHeR","object":"gift","resource_version":1469172601000,"scheduled_at":1469172606,"status":"scheduled","updated_at":1469172601}},"event_type":"gift_scheduled","id":"ev_XpbGHg6R6eJKgtBL","object":"event","occurred_at":1469172601,"source":"api","user":"full_access_key_v1","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"api_version":"v2","content":{"gift":{"auto_claim":false,"claim_expiry_date":1469604601,"gift_receiver":{"customer_id":"XpbGHg6R6eJKVQB8","email":"bhairav@test.com","first_name":"Bhaiyu","last_name":"Boy","object":"gift_receiver","subscription_id":"XpbGHg6R6eJKXDBA"},"gift_timelines":[{"object":"gift_timeline","occurred_at":1469172607,"status":"unclaimed"},{"object":"gift_timeline","occurred_at":1469172601,"status":"scheduled"}],"gifter":{"customer_id":"XpbGHg6R6eJKORAw","invoice_id":"__demo_inv__26","note":"Yours lovingly","object":"gifter","signature":"Sangi"},"id":"XpbGHg6R6eJKe7BH2cu0laxNQ2CNu29QEvvFzQcu94maf3dHeR","object":"gift","resource_version":1469172607000,"scheduled_at":1469172606,"status":"unclaimed","updated_at":1469172607}},"event_type":"gift_unclaimed","id":"ev_XpbGHjSR6eJL8t1b","object":"event","occurred_at":1469172607,"source":"scheduled_job","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_AzqYRASIsZ0lFid","occurred_at":1607703253,"source":"admin_console","user":"user@example.com","object":"event","api_version":"v2","content":{"invoice":{"id":"21","customer_id":"16BjsrSIh4AdLqkD","subscription_id":"16BjsrSIh5veWrBv","recurring":true,"status":"not_paid","price_type":"tax_exclusive","date":1607702400,"due_date":1607702400,"net_term_days":0,"exchange_rate":1.0,"total":32400,"amount_paid":0,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":32400,"dunning_status":"stopped","updated_at":1607703253,"resource_version":1607703253864,"deleted":true,"object":"invoice","first_invoice":false,"amount_to_collect":32400,"round_off_amount":0,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","is_gifted":false,"term_finalized":true,"tax":0,"line_items":[{"id":"li_16BjsrSIh5vfKrBx","date_from":1607533783,"date_to":1639069783,"unit_amount":5400,"quantity":6,"amount":32400,"pricing_model":"per_unit","is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"16BjsrSIh5veWrBv","customer_id":"16BjsrSIh4AdLqkD","description":"Test Plan","entity_type":"plan","entity_id":"__TEST__plan_1","discount_amount":0,"item_level_discount_amount":0}],"sub_total":32400,"linked_payments":[],"dunning_attempts":[],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[],"billing_address":{"first_name":"Tax","last_name":"Customer","state_code":"OH","state":"Ohio","country":"US","zip":"44145","validation_status":"not_validated","object":"billing_address"},"shipping_address":{"state_code":"OH","state":"Ohio","country":"US","zip":"44145","validation_status":"valid","object":"shipping_address"}}},"event_type":"invoice_deleted","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_16CHTnSAx2s7J5Kv","occurred_at":1600440413,"source":"admin_console","user":"user@example.com","object":"event","api_version":"v2","content":{"invoice":{"id":"19","customer_id":"16CHTpRzjKx2O7mo","recurring":false,"status":"posted","price_type":"tax_exclusive","date":1600440413,"due_date":1603032413,"net_term_days":30,"exchange_rate":1.0,"total":500000,"amount_paid":0,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":500000,"updated_at":1600440413,"resource_version":1600440413171,"deleted":false,"object":"invoice","first_invoice":true,"amount_to_collect":500000,"round_off_amount":0,"new_sales_amount":500000,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","is_gifted":false,"term_finalized":true,"tax":0,"line_items":[{"id":"li_16CHTnSAx2s685Ku","date_from":1600440397,"date_to":1600440397,"unit_amount":100,"quantity":5000,"amount":500000,"pricing_model":"per_unit","is_taxed":false,"tax_amount":0,"object":"line_item","customer_id":"16CHTpRzjKx2O7mo","description":"Rewards Prepayment","entity_type":"addon","entity_id":"rewards-prepayment","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"sub_total":500000,"linked_payments":[],"dunning_attempts":[],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[],"billing_address":{"first_name":"Bob","last_name":"Jones","company":"Acme Keyboards Inc.","validation_status":"not_validated","object":"billing_address"}}},"event_type":"invoice_generated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_16BgNRSDmSfQB2sPm","occurred_at":1603032419,"source":"scheduled_job","object":"event","api_version":"v2","content":{"invoice":{"id":"19","customer_id":"16CHTpRzjKx2O7mo","recurring":false,"status":"payment_due","price_type":"tax_exclusive","date":1600440413,"due_date":1603032413,"net_term_days":30,"exchange_rate":1.0,"total":500000,"amount_paid":0,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":500000,"dunning_status":"in_progress","next_retry_at":1603118813,"updated_at":1603032419,"resource_version":1603032419689,"deleted":false,"object":"invoice","first_invoice":true,"amount_to_collect":500000,"round_off_amount":0,"new_sales_amount":500000,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","is_gifted":false,"term_finalized":true,"tax":0,"line_items":[{"id":"li_16CHTnSAx2s685Ku","date_from":1600440397,"date_to":1600440397,"unit_amount":100,"quantity":5000,"amount":500000,"pricing_model":"per_unit","is_taxed":false,"tax_amount":0,"object":"line_item","customer_id":"16CHTpRzjKx2O7mo","description":"Rewards Prepayment","entity_type":"addon","entity_id":"rewards-prepayment","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"sub_total":500000,"linked_payments":[],"dunning_attempts":[],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[],"billing_address":{"first_name":"Bob","last_name":"Jones","company":"Acme Keyboards Inc.","validation_status":"not_validated","object":"billing_address"}}},"event_type":"invoice_updated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlw73J","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"order":{"id":"1","document_number":"1","invoice_id":"INV-092018-194","subscription_id":"1mklhi2R4ePTnLVi","customer_id":"1mklhi2R4ePTnLVi","status":"cancelled","payment_status":"paid","order_type":"system_generated","price_type":"tax_inclusive","order_date":1537868031,"shipping_date":1537868031,"created_by":"Auto generated by system","tax":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"rounding_adjustement":0,"paid_on":1537868031,"cancelled_at":1537939744,"created_at":1537868034,"updated_at":1537939744,"resource_version":1537939744934,"deleted":false,"object":"order","discount":0,"sub_total":30000,"order_line_items":[{"id":"o_li1mklhi2R4ePXxoWA","invoice_id":"INV-092018-194","invoice_line_item_id":"li_1mklhi2R4ePTpVVk","unit_price":33000,"fulfillment_quantity":1,"fulfillment_amount":33000,"tax_amount":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"is_shippable":true,"status":"queued","object":"order_line_item","entity_id":"classic-monthly-shipping-yearly-plan","discount_amount":0,"item_level_discount_amount":0,"description":"Classic monthly shipping yearly plan","entity_type":"plan"}],"line_item_taxes":[{"tax_name":"test","tax_rate":10.0,"tax_juris_type":"country","tax_juris_name":"United States","tax_juris_code":"US","object":"line_item_tax","line_item_id":"li_1mklhi2R4ePTpVVk","tax_amount":3000}],"total":33000,"amount_refundable":33000,"currency_code":"EUR","base_currency_code":"EUR","shipping_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"shipping_address"},"billing_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"billing_address"},"linked_credit_notes":[]}},"event_type":"order_cancelled","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlw73J","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"order":{"id":"1","document_number":"1","invoice_id":"INV-092018-194","subscription_id":"1mklhi2R4ePTnLVi","customer_id":"1mklhi2R4ePTnLVi","status":"queued","payment_status":"paid","order_type":"system_generated","price_type":"tax_inclusive","order_date":1537868031,"shipping_date":1537868031,"created_by":"Auto generated by system","tax":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"rounding_adjustement":0,"paid_on":1537868031,"created_at":1537868034,"updated_at":1537939744,"resource_version":1537939744934,"deleted":false,"object":"order","discount":0,"sub_total":30000,"order_line_items":[{"id":"o_li1mklhi2R4ePXxoWA","invoice_id":"INV-092018-194","invoice_line_item_id":"li_1mklhi2R4ePTpVVk","unit_price":33000,"fulfillment_quantity":1,"fulfillment_amount":33000,"tax_amount":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"is_shippable":true,"status":"queued","object":"order_line_item","entity_id":"classic-monthly-shipping-yearly-plan","discount_amount":0,"item_level_discount_amount":0,"description":"Classic monthly shipping yearly plan","entity_type":"plan"}],"line_item_taxes":[{"tax_name":"test","tax_rate":10.0,"tax_juris_type":"country","tax_juris_name":"United States","tax_juris_code":"US","object":"line_item_tax","line_item_id":"li_1mklhi2R4ePTpVVk","tax_amount":3000}],"total":33000,"amount_refundable":33000,"currency_code":"EUR","base_currency_code":"EUR","shipping_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"shipping_address"},"billing_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"billing_address"},"linked_credit_notes":[]}},"event_type":"order_created","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlw73J","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"order":{"id":"1","document_number":"1","invoice_id":"INV-092018-194","subscription_id":"1mklhi2R4ePTnLVi","customer_id":"1mklhi2R4ePTnLVi","status":"delivered","payment_status":"paid","order_type":"system_generated","price_type":"tax_inclusive","order_date":1537868031,"shipping_date":1537868031,"created_by":"Auto generated by system","tax":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"rounding_adjustement":0,"delivered_at":1537939744,"paid_on":1537868031,"created_at":1537868034,"updated_at":1537939744,"resource_version":1537939744934,"deleted":false,"object":"order","discount":0,"sub_total":30000,"order_line_items":[{"id":"o_li1mklhi2R4ePXxoWA","invoice_id":"INV-092018-194","invoice_line_item_id":"li_1mklhi2R4ePTpVVk","unit_price":33000,"fulfillment_quantity":1,"fulfillment_amount":33000,"tax_amount":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"is_shippable":true,"status":"queued","object":"order_line_item","entity_id":"classic-monthly-shipping-yearly-plan","discount_amount":0,"item_level_discount_amount":0,"description":"Classic monthly shipping yearly plan","entity_type":"plan"}],"line_item_taxes":[{"tax_name":"test","tax_rate":10.0,"tax_juris_type":"country","tax_juris_name":"United States","tax_juris_code":"US","object":"line_item_tax","line_item_id":"li_1mklhi2R4ePTpVVk","tax_amount":3000}],"total":33000,"amount_refundable":33000,"currency_code":"EUR","base_currency_code":"EUR","shipping_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"shipping_address"},"billing_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"billing_address"},"linked_credit_notes":[]}},"event_type":"order_delivered","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlw73J","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"order":{"id":"1","document_number":"1","invoice_id":"INV-092018-194","subscription_id":"1mklhi2R4ePTnLVi","customer_id":"1mklhi2R4ePTnLVi","status":"queued","payment_status":"paid","order_type":"system_generated","price_type":"tax_inclusive","order_date":1537868031,"shipping_date":1537868031,"created_by":"Auto generated by system","tax":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"rounding_adjustement":0,"paid_on":1537868031,"created_at":1537868034,"updated_at":1537939744,"resource_version":1537939744934,"deleted":false,"object":"order","discount":0,"sub_total":30000,"order_line_items":[{"id":"o_li1mklhi2R4ePXxoWA","invoice_id":"INV-092018-194","invoice_line_item_id":"li_1mklhi2R4ePTpVVk","unit_price":33000,"fulfillment_quantity":1,"fulfillment_amount":33000,"tax_amount":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"is_shippable":true,"status":"queued","object":"order_line_item","entity_id":"classic-monthly-shipping-yearly-plan","discount_amount":0,"item_level_discount_amount":0,"description":"Classic monthly shipping yearly plan","entity_type":"plan"}],"line_item_taxes":[{"tax_name":"test","tax_rate":10.0,"tax_juris_type":"country","tax_juris_name":"United States","tax_juris_code":"US","object":"line_item_tax","line_item_id":"li_1mklhi2R4ePTpVVk","tax_amount":3000}],"total":33000,"amount_refundable":33000,"currency_code":"EUR","base_currency_code":"EUR","shipping_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"shipping_address"},"billing_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"billing_address"},"linked_credit_notes":[]}},"event_type":"order_ready_to_process","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlw73J","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"order":{"id":"1","document_number":"1","invoice_id":"INV-092018-194","subscription_id":"1mklhi2R4ePTnLVi","customer_id":"1mklhi2R4ePTnLVi","status":"queued","payment_status":"paid","order_type":"system_generated","price_type":"tax_inclusive","order_date":1537868031,"shipping_date":1537868031,"created_by":"Auto generated by system","tax":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"rounding_adjustement":0,"paid_on":1537868031,"created_at":1537868034,"updated_at":1537939744,"resource_version":1537939744934,"deleted":false,"object":"order","discount":0,"sub_total":30000,"order_line_items":[{"id":"o_li1mklhi2R4ePXxoWA","invoice_id":"INV-092018-194","invoice_line_item_id":"li_1mklhi2R4ePTpVVk","unit_price":33000,"fulfillment_quantity":1,"fulfillment_amount":33000,"tax_amount":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"is_shippable":true,"status":"queued","object":"order_line_item","entity_id":"classic-monthly-shipping-yearly-plan","discount_amount":0,"item_level_discount_amount":0,"description":"Classic monthly shipping yearly plan","entity_type":"plan"}],"line_item_taxes":[{"tax_name":"test","tax_rate":10.0,"tax_juris_type":"country","tax_juris_name":"United States","tax_juris_code":"US","object":"line_item_tax","line_item_id":"li_1mklhi2R4ePTpVVk","tax_amount":3000}],"total":33000,"amount_refundable":33000,"currency_code":"EUR","base_currency_code":"EUR","shipping_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"shipping_address"},"billing_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"billing_address"},"linked_credit_notes":[]}},"event_type":"order_ready_to_ship","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlw73J","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"order":{"id":"1","document_number":"1","invoice_id":"INV-092018-194","subscription_id":"1mklhi2R4ePTnLVi","customer_id":"1mklhi2R4ePTnLVi","status":"queued","payment_status":"paid","order_type":"system_generated","price_type":"tax_inclusive","order_date":1537868031,"shipping_date":1537868031,"created_by":"Auto generated by system","tax":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"rounding_adjustement":0,"paid_on":1537868031,"created_at":1537868034,"updated_at":1537939744,"resource_version":1537939744934,"deleted":false,"object":"order","discount":0,"sub_total":30000,"order_line_items":[{"id":"o_li1mklhi2R4ePXxoWA","invoice_id":"INV-092018-194","invoice_line_item_id":"li_1mklhi2R4ePTpVVk","unit_price":33000,"fulfillment_quantity":1,"fulfillment_amount":33000,"tax_amount":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"is_shippable":true,"status":"queued","object":"order_line_item","entity_id":"classic-monthly-shipping-yearly-plan","discount_amount":0,"item_level_discount_amount":0,"description":"Classic monthly shipping yearly plan","entity_type":"plan"}],"line_item_taxes":[{"tax_name":"test","tax_rate":10.0,"tax_juris_type":"country","tax_juris_name":"United States","tax_juris_code":"US","object":"line_item_tax","line_item_id":"li_1mklhi2R4ePTpVVk","tax_amount":3000}],"total":33000,"amount_refundable":33000,"currency_code":"EUR","base_currency_code":"EUR","shipping_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"shipping_address"},"billing_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"billing_address"},"linked_credit_notes":[]}},"event_type":"order_returned","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlw73J","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"order":{"id":"1","document_number":"1","invoice_id":"INV-092018-194","subscription_id":"1mklhi2R4ePTnLVi","customer_id":"1mklhi2R4ePTnLVi","status":"queued","payment_status":"paid","order_type":"system_generated","price_type":"tax_inclusive","order_date":1537868031,"shipping_date":1537868031,"created_by":"Auto generated by system","tax":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"rounding_adjustement":0,"paid_on":1537868031,"created_at":1537868034,"updated_at":1537939744,"resource_version":1537939744934,"deleted":false,"object":"order","discount":0,"sub_total":30000,"order_line_items":[{"id":"o_li1mklhi2R4ePXxoWA","invoice_id":"INV-092018-194","invoice_line_item_id":"li_1mklhi2R4ePTpVVk","unit_price":33000,"fulfillment_quantity":1,"fulfillment_amount":33000,"tax_amount":3000,"amount_paid":33000,"amount_adjusted":0,"refundable_credits_issued":0,"refundable_credits":33000,"is_shippable":true,"status":"queued","object":"order_line_item","entity_id":"classic-monthly-shipping-yearly-plan","discount_amount":0,"item_level_discount_amount":0,"description":"Classic monthly shipping yearly plan","entity_type":"plan"}],"line_item_taxes":[{"tax_name":"test","tax_rate":10.0,"tax_juris_type":"country","tax_juris_name":"United States","tax_juris_code":"US","object":"line_item_tax","line_item_id":"li_1mklhi2R4ePTpVVk","tax_amount":3000}],"total":33000,"amount_refundable":33000,"currency_code":"EUR","base_currency_code":"EUR","shipping_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"shipping_address"},"billing_address":{"state_code":"AL","state":"Alabama","country":"US","validation_status":"not_validated","object":"billing_address"},"linked_credit_notes":[]}},"event_type":"order_updated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGG8UK4s","occurred_at":1364845255,"source":"scheduled_job","object":"event","api_version":"v2","content":{"transaction":{"id":"txn_3Nl7oGgQqGG8Pp4m","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","gateway_account_id":"gw_3Nl7oGgQqGFlba2","payment_source_id":"pm_3Nl7oGgQqGG6Jr42","payment_method":"card","gateway":"chargebee","type":"payment","date":1364845255,"exchange_rate":1.0,"amount":224,"id_at_gateway":"cb_3Nl7oGgQqGG8Q24n","status":"failure","error_code":"3001","error_text":"Insufficient funds","updated_at":1364845255,"resource_version":1364845255000,"deleted":false,"object":"transaction","masked_card_number":"************4810","currency_code":"USD","base_currency_code":"USD","amount_unused":0,"linked_invoices":[{"invoice_id":"6","applied_amount":224,"applied_at":1364845255,"invoice_date":1364845254,"invoice_total":1095,"invoice_status":"payment_due"}],"linked_refunds":[]},"invoice":{"id":"6","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","recurring":true,"status":"payment_due","price_type":"tax_exclusive","date":1364845254,"due_date":1364845254,"net_term_days":0,"exchange_rate":1.0,"total":1095,"amount_paid":0,"amount_adjusted":0,"write_off_amount":0,"credits_applied":871,"amount_due":224,"dunning_status":"in_progress","next_retry_at":1364931655,"updated_at":1364845255,"resource_version":1364845255000,"deleted":false,"object":"invoice","first_invoice":false,"amount_to_collect":224,"round_off_amount":0,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","tax":0,"line_items":[{"id":"li_3Nl7oGgQqGG8Lz4j","date_from":1364845254,"date_to":1367437254,"unit_amount":1000,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":1000,"description":"No Trial","entity_type":"plan","entity_id":"no_trial","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0},{"id":"li_3Nl7oGgQqGG8MX4k","date_from":1364845254,"date_to":1367437254,"unit_amount":95,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":95,"description":"Data Usage","entity_type":"addon","entity_id":"data_usage","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"sub_total":1095,"linked_payments":[{"txn_id":"txn_3Nl7oGgQqGG8Pp4m","applied_amount":224,"applied_at":1364845255,"txn_status":"failure","txn_date":1364845255,"txn_amount":224}],"applied_credits":[{"applied_amount":871,"applied_at":1364845255,"cn_id":"TEST-CN-1","cn_reason_code":"subscription_change","cn_date":1362253266,"cn_status":"refunded"}],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[],"billing_address":{"first_name":"Joe","last_name":"Ross","validation_status":"not_validated","object":"billing_address"}},"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Joe","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1364845255,"resource_version":1364845255000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGG6Jr42","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGG6Jl41","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"},"subscription":{"id":"3Nl7oGgQqGFprj9","customer_id":"3Nl7oGgQqGFprj9","plan_id":"no_trial","plan_quantity":1,"plan_unit_price":1000,"billing_period":1,"billing_period_unit":"month","plan_free_quantity":0,"status":"active","trial_start":1341690024,"trial_end":1344368424,"current_term_start":1364845254,"current_term_end":1367437254,"next_billing_at":1367437254,"created_at":1341085225,"started_at":1341690024,"activated_at":1362166854,"updated_at":1364845255,"has_scheduled_changes":false,"resource_version":1364845255000,"deleted":false,"object":"subscription","currency_code":"USD","addons":[{"id":"data_usage","quantity":1,"unit_price":95,"object":"addon"}],"due_invoices_count":1,"due_since":1364845254,"total_dues":224,"mrr":1095,"exchange_rate":1.0,"base_currency_code":"USD"}},"event_type":"payment_failed","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGG6Bo3o","occurred_at":1362253290,"source":"admin_console","object":"event","api_version":"v2","content":{"transaction":{"id":"txn_3Nl7oGgQqGG4tN3n","customer_id":"createSubs","subscription_id":"createSubs","gateway_account_id":"gw_3Nl7oGgQqGFoyZ6","payment_source_id":"pm_XpbG6hnQqGG3Xo3X","payment_method":"direct_debit","gateway":"authorize_net","type":"payment","date":1362253285,"exchange_rate":1.0,"amount":1000,"id_at_gateway":"60102328511","status":"in_progress","updated_at":1362253290,"resource_version":1362253290000,"deleted":false,"object":"transaction","currency_code":"USD","base_currency_code":"USD","amount_unused":0,"linked_invoices":[{"invoice_id":"4","applied_amount":1000,"applied_at":1362253290,"invoice_date":1362253285,"invoice_total":1000,"invoice_status":"payment_due"}],"linked_refunds":[]},"invoice":{"id":"4","customer_id":"createSubs","subscription_id":"createSubs","recurring":false,"status":"payment_due","price_type":"tax_exclusive","date":1362253285,"due_date":1362253285,"net_term_days":0,"exchange_rate":1.0,"total":1000,"amount_paid":0,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":1000,"updated_at":1362253290,"resource_version":1362253290000,"deleted":false,"object":"invoice","first_invoice":true,"amount_to_collect":0,"round_off_amount":0,"new_sales_amount":1000,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","tax":0,"line_items":[{"id":"li_3Nl7oGgQqGG4qi3m","date_from":1362253285,"date_to":1362253285,"unit_amount":1000,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"createSubs","amount":1000,"description":"Test Charge with Bank Account","entity_type":"adhoc","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"sub_total":1000,"linked_payments":[{"txn_id":"txn_3Nl7oGgQqGG4tN3n","applied_amount":1000,"applied_at":1362253290,"txn_status":"in_progress","txn_date":1362253285,"txn_amount":1000}],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[],"billing_address":{"first_name":"createSubs","validation_status":"not_validated","object":"billing_address"}},"customer":{"id":"createSubs","first_name":"createSubs","email":"createSubs@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":true,"created_at":1362253267,"taxability":"taxable","updated_at":1362253280,"resource_version":1362253280000,"deleted":false,"object":"customer","primary_payment_source_id":"pm_XpbG6hnQqGG3Xo3X","payment_method":{"object":"payment_method","type":"direct_debit","reference_id":"1913346832/1827223617","gateway":"authorize_net","gateway_account_id":"gw_3Nl7oGgQqGFoyZ6","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"},"subscription":{"id":"createSubs","customer_id":"createSubs","plan_id":"basic","plan_quantity":1,"plan_unit_price":900,"billing_period":1,"billing_period_unit":"month","plan_free_quantity":0,"status":"in_trial","trial_start":1362253267,"trial_end":1364931667,"next_billing_at":1364931667,"created_at":1362253267,"started_at":1362253267,"updated_at":1362253267,"has_scheduled_changes":false,"resource_version":1362253267000,"deleted":false,"object":"subscription","currency_code":"USD","due_invoices_count":1,"due_since":1362253285,"total_dues":1000}},"event_type":"payment_initiated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbT68aRfcRkmt9m","occurred_at":1368350322,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"payment_intent":{"id":"XpbT68aRfcRkml9lrcdYNND663i3E0a1w0ZhtcMow1K07oDEu","status":"inited","amount":5000,"gateway_account_id":"gw_XpbT6AhRfcRAZu2","expires_at":1368352122,"created_at":1368350322,"modified_at":1571735922,"object":"payment_intent","currency_code":"USD","gateway":"chargebee"}},"event_type":"payment_intent_created","webhook_status":"scheduled"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbT68aRfcRknc9n","occurred_at":1368350322,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"payment_intent":{"id":"XpbT68aRfcRkml9lrcdYNND663i3E0a1w0ZhtcMow1K07oDEu","status":"inited","amount":4000,"gateway_account_id":"gw_XpbT6AhRfcRAZu2","expires_at":1368352122,"created_at":1368350322,"modified_at":1571735922,"object":"payment_intent","currency_code":"USD","gateway":"chargebee"}},"event_type":"payment_intent_updated","webhook_status":"scheduled"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGG0Dl3f","occurred_at":1362253267,"source":"admin_console","object":"event","api_version":"v2","content":{"transaction":{"id":"txn_3Nl7oGgQqGG07E3V","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","gateway_account_id":"gw_3Nl7oGgQqGFlba2","payment_method":"card","gateway":"chargebee","type":"refund","date":1362253267,"exchange_rate":1.0,"amount":2,"id_at_gateway":"cb_3Nl7oGgQqGG08Y3W","status":"success","updated_at":1362253267,"resource_version":1362253267000,"deleted":false,"object":"transaction","masked_card_number":"************1111","refunded_txn_id":"txn_3Nl7oGgQqGFs2lf","linked_credit_notes":[{"cn_id":"TEST-CN-2","applied_amount":2,"applied_at":1362253267,"cn_reason_code":"other","cn_date":1362253267,"cn_total":2,"cn_status":"refunded","cn_reference_invoice_id":"1"}],"currency_code":"USD","base_currency_code":"USD"},"invoice":{"id":"1","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","recurring":true,"status":"paid","price_type":"tax_exclusive","date":1344368424,"due_date":1344368424,"net_term_days":0,"exchange_rate":1.0,"total":995,"amount_paid":995,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":0,"paid_at":1344368425,"updated_at":1362253267,"resource_version":1362253267000,"deleted":false,"object":"invoice","first_invoice":true,"amount_to_collect":0,"round_off_amount":0,"new_sales_amount":995,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","tax":0,"line_items":[{"id":"li_3Nl7oGgQqGFrxEd","date_from":1344368424,"date_to":1347046824,"unit_amount":900,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":900,"description":"Basic","entity_type":"plan","entity_id":"basic","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0},{"id":"li_3Nl7oGgQqGFrxve","date_from":1344368424,"date_to":1347046824,"unit_amount":95,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":95,"description":"Data Usage","entity_type":"addon","entity_id":"data_usage","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"sub_total":995,"linked_payments":[{"txn_id":"txn_3Nl7oGgQqGFs2lf","applied_amount":995,"applied_at":1344368425,"txn_status":"success","txn_date":1344368425,"txn_amount":995}],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[{"cn_id":"TEST-CN-2","cn_reason_code":"other","cn_date":1362253267,"cn_total":2,"cn_status":"refunded"}],"linked_orders":[],"billing_address":{"first_name":"Benjamin","last_name":"Ross","validation_status":"not_validated","object":"billing_address"}},"credit_note":{"id":"TEST-CN-2","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","reference_invoice_id":"1","type":"refundable","reason_code":"other","status":"refunded","date":1362253267,"price_type":"tax_exclusive","exchange_rate":1.0,"total":2,"amount_allocated":0,"amount_refunded":2,"amount_available":0,"refunded_at":1362253267,"updated_at":1362253267,"resource_version":1362253267000,"deleted":false,"object":"credit_note","currency_code":"USD","round_off_amount":0,"base_currency_code":"USD","sub_total":2,"line_items":[{"id":"li_3Nl7oGgQqGG09g3Y","date_from":1362253267,"date_to":1362253267,"unit_amount":2,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":2,"description":"Basic","entity_type":"plan","entity_id":"basic","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0},{"id":"li_3Nl7oGgQqGG09g3Z","date_from":1362253267,"date_to":1362253267,"unit_amount":0,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":0,"description":"Data Usage","entity_type":"addon","entity_id":"data_usage","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"taxes":[],"line_item_taxes":[],"line_item_discounts":[],"linked_refunds":[{"applied_amount":2,"applied_at":1362253267,"txn_id":"txn_3Nl7oGgQqGG07E3V","txn_status":"success","txn_date":1362253267,"txn_amount":2}],"allocations":[]},"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1362253267,"resource_version":1362253267000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGFwhb1k","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFwhM1j","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"balances":[{"promotional_credits":0,"excess_payments":0,"refundable_credits":871,"unbilled_charges":0,"object":"customer_balance","currency_code":"USD","balance_currency_code":"USD"}],"promotional_credits":0,"refundable_credits":871,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"},"subscription":{"id":"3Nl7oGgQqGFprj9","customer_id":"3Nl7oGgQqGFprj9","plan_id":"no_trial","plan_quantity":1,"plan_unit_price":1000,"billing_period":1,"billing_period_unit":"month","plan_free_quantity":0,"status":"active","trial_start":1341690024,"trial_end":1344368424,"current_term_start":1362166854,"current_term_end":1364845254,"next_billing_at":1364845254,"created_at":1341085225,"started_at":1341690024,"activated_at":1362166854,"updated_at":1362253266,"has_scheduled_changes":false,"resource_version":1362253266000,"deleted":false,"object":"subscription","currency_code":"USD","addons":[{"id":"data_usage","quantity":1,"unit_price":95,"object":"addon"}],"due_invoices_count":0,"mrr":995,"exchange_rate":1.0,"base_currency_code":"USD"}},"event_type":"payment_refunded","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFqJlF","occurred_at":1341085226,"source":"admin_console","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1341085225,"resource_version":1341085225000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGFpzgB","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFpzJA","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"payment_source_added","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGGC986A","occurred_at":1367437312,"source":"admin_console","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Joe","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"off","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1367437312,"resource_version":1367437312000,"deleted":false,"object":"customer","card_status":"no_card","promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"payment_source_deleted","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFwiy1m","occurred_at":1349120450,"source":"admin_console","object":"event","api_version":"v2","content":{"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1349120450,"resource_version":1349120450000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGFwhb1k","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFwhM1j","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"payment_source_updated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_AzqYRySIstMN16O","occurred_at":1607708103,"source":"admin_console","user":"user@example.com","object":"event","api_version":"v2","content":{"transaction":{"id":"txn_AzqYRySIstMLf6N","customer_id":"16BjsrSIh4AdLqkD","subscription_id":"tax customer test","payment_method":"cash","gateway":"not_applicable","type":"payment","date":1607700898,"exchange_rate":1.0,"amount":450000,"status":"success","updated_at":1607708103,"resource_version":1607708103483,"deleted":false,"object":"transaction","currency_code":"USD","base_currency_code":"USD","amount_unused":0,"linked_invoices":[{"invoice_id":"22","applied_amount":450000,"applied_at":1607708103,"invoice_date":1607705376,"invoice_total":450000,"invoice_status":"paid"}],"linked_refunds":[]},"invoice":{"id":"22","customer_id":"16BjsrSIh4AdLqkD","subscription_id":"tax customer test","recurring":true,"status":"paid","price_type":"tax_exclusive","date":1607705376,"due_date":1607705376,"net_term_days":0,"exchange_rate":1.0,"total":450000,"amount_paid":450000,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":0,"paid_at":1607700898,"dunning_status":"stopped","updated_at":1607708103,"resource_version":1607708103484,"deleted":false,"object":"invoice","first_invoice":true,"amount_to_collect":0,"round_off_amount":0,"new_sales_amount":450000,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","is_gifted":false,"term_finalized":true,"tax":0,"line_items":[{"id":"li_16BjmkSIshuwwgPB","date_from":1607705376,"date_to":1607705376,"unit_amount":150000,"quantity":1,"amount":150000,"pricing_model":"flat_fee","is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"tax customer test","customer_id":"16BjsrSIh4AdLqkD","description":"Contract Plan - Setup Fee","entity_type":"plan_setup","entity_id":"contract-plan","discount_amount":0,"item_level_discount_amount":0},{"id":"li_16BjmkSIshuwzgPC","date_from":1607705376,"date_to":1639241376,"unit_amount":50000,"quantity":6,"amount":300000,"pricing_model":"tiered","is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"tax customer test","customer_id":"16BjsrSIh4AdLqkD","description":"Contract Plan","entity_type":"plan","entity_id":"contract-plan","discount_amount":0,"item_level_discount_amount":0}],"line_item_tiers":[{"starting_unit":1,"ending_unit":1,"quantity_used":1,"unit_amount":300000,"object":"line_item_tier","line_item_id":"li_16BjmkSIshuwzgPC"},{"starting_unit":2,"ending_unit":500,"quantity_used":5,"unit_amount":0,"object":"line_item_tier","line_item_id":"li_16BjmkSIshuwzgPC"}],"sub_total":450000,"linked_payments":[{"txn_id":"txn_AzqYRySIstMLf6N","applied_amount":450000,"applied_at":1607708103,"txn_status":"success","txn_date":1607700898,"txn_amount":450000}],"dunning_attempts":[],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[],"billing_address":{"first_name":"Tax","last_name":"Customer","state_code":"OH","state":"Ohio","country":"US","zip":"44145","validation_status":"not_validated","object":"billing_address"},"shipping_address":{"state_code":"OH","state":"Ohio","country":"US","zip":"44145","validation_status":"valid","object":"shipping_address"}},"customer":{"id":"16BjsrSIh4AdLqkD","first_name":"Tax","last_name":"Customer","email":"taxes@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1607533363,"taxability":"taxable","updated_at":1607703253,"locale":"en-US","pii_cleared":"active","resource_version":1607703253863,"deleted":false,"object":"customer","billing_address":{"state_code":"OH","state":"Ohio","country":"US","zip":"44145","validation_status":"not_validated","object":"billing_address"},"card_status":"no_card","promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD","mrr":0},"subscription":{"id":"tax customer test","plan_id":"contract-plan","plan_quantity":6,"plan_unit_price":50000,"setup_fee":150000,"billing_period":1,"billing_period_unit":"year","auto_collection":"off","customer_id":"16BjsrSIh4AdLqkD","plan_amount":300000,"plan_free_quantity":0,"status":"active","current_term_start":1607705376,"current_term_end":1639241376,"next_billing_at":1639241376,"created_at":1607705376,"started_at":1607705376,"activated_at":1607705376,"updated_at":1607705383,"has_scheduled_changes":false,"resource_version":1607705383330,"deleted":false,"object":"subscription","currency_code":"USD","due_invoices_count":0,"mrr":25000,"exchange_rate":1.0,"base_currency_code":"USD","shipping_address":{"state_code":"OH","state":"Ohio","country":"US","zip":"44145","validation_status":"valid","object":"shipping_address"}}},"event_type":"payment_succeeded","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_16BgPKSClXog42Eie","occurred_at":1602102737,"source":"scheduled_job","object":"event","api_version":"v2","content":{"invoice":{"id":"draft_inv_16BgPKSClXofl2Eic","customer_id":"169yKyRvVEpMaX5Y","subscription_id":"16CHTSRvVVFWPYD5","recurring":true,"status":"pending","price_type":"tax_exclusive","date":1602102735,"net_term_days":0,"exchange_rate":1.0,"total":2500,"amount_paid":0,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":2500,"updated_at":1602102737,"resource_version":1602102737738,"deleted":false,"object":"invoice","first_invoice":false,"amount_to_collect":2500,"round_off_amount":0,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","is_gifted":false,"term_finalized":true,"tax":0,"line_items":[{"id":"li_16BgPKSClXofU2Eib","date_from":1602102735,"date_to":1604784735,"unit_amount":500,"quantity":5,"amount":2500,"pricing_model":"per_unit","is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"16CHTSRvVVFWPYD5","customer_id":"169yKyRvVEpMaX5Y","description":"Pro MONTHLY","entity_type":"plan","entity_id":"pro-monthly","discount_amount":0,"item_level_discount_amount":0}],"sub_total":2500,"linked_payments":[],"dunning_attempts":[],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[]}},"event_type":"pending_invoice_created","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFwea3V","occurred_at":1349120450,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"invoice":{"id":"draft_inv_3Nl7oGgQqGFw1O1V","customer_id":"3Nl7oGgQqGFqO7H","subscription_id":"3Nl7oGgQqGFqO7H","recurring":true,"status":"pending","price_type":"tax_exclusive","date":1347046826,"net_term_days":0,"exchange_rate":1.0,"total":9245,"amount_paid":0,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":9245,"updated_at":1349120450,"resource_version":1349120450000,"deleted":false,"object":"invoice","first_invoice":false,"amount_to_collect":9245,"round_off_amount":0,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","tax":0,"line_items":[{"id":"li_3Nl7oGgQqGFvxb1T","date_from":1347046826,"date_to":1349638826,"unit_amount":900,"quantity":10,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFqO7H","amount":9000,"description":"Basic","entity_type":"plan","entity_id":"basic","discount_amount":0,"item_level_discount_amount":0},{"id":"li_3Nl7oGgQqGFw0D1U","date_from":1347046826,"date_to":1349638826,"unit_amount":95,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFqO7H","amount":95,"description":"Data Usage","entity_type":"addon","entity_id":"data_usage","discount_amount":0,"item_level_discount_amount":0},{"id":"li_XpbG6hnQqGFwaA3U","date_from":1349120450,"date_to":1349120450,"unit_amount":150,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFqO7H","amount":150,"description":"$0.05 each for 30 messages","entity_type":"adhoc","discount_amount":0,"item_level_discount_amount":0}],"sub_total":9245,"linked_payments":[],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[]}},"event_type":"pending_invoice_updated","webhook_status":"not_configured"}
@@ -0,0 +1,37 @@
1
+ {
2
+ "id": "ev_16CHTnSAwzYDs4oW",
3
+ "occurred_at": 1600439621,
4
+ "source": "admin_console",
5
+ "user": "user@example.com",
6
+ "object": "event",
7
+ "api_version": "v2",
8
+ "content": {
9
+ "plan": {
10
+ "id": "__TEST__plan_1",
11
+ "name": "Test Plan",
12
+ "price": 500,
13
+ "period": 1,
14
+ "period_unit": "month",
15
+ "trial_period": 30,
16
+ "trial_period_unit": "day",
17
+ "pricing_model": "per_unit",
18
+ "free_quantity": 0,
19
+ "status": "active",
20
+ "enabled_in_hosted_pages": true,
21
+ "enabled_in_portal": true,
22
+ "addon_applicability": "all",
23
+ "is_shippable": false,
24
+ "updated_at": 1600439621,
25
+ "giftable": false,
26
+ "resource_version": 1600439621719,
27
+ "object": "plan",
28
+ "charge_model": "per_unit",
29
+ "taxable": true,
30
+ "currency_code": "USD",
31
+ "show_description_in_invoices": false,
32
+ "show_description_in_quotes": false
33
+ }
34
+ },
35
+ "event_type": "plan_created",
36
+ "webhook_status": "not_configured"
37
+ }
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGFlyu3L","occurred_at":1341085213,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"plan":{"id":"package","name":"Package","price":1000,"period":1,"period_unit":"month","charge_model":"per_unit","free_quantity":0,"status":"deleted","enabled_in_hosted_pages":true,"enabled_in_portal":true,"updated_at":1341085213,"resource_version":1341085213000,"object":"plan","taxable":true,"currency_code":"USD"}},"event_type":"plan_deleted","webhook_status":"not_configured"}
@@ -0,0 +1,39 @@
1
+ {
2
+ "id": "ev_AzyuEwSJGR1YyQX7",
3
+ "occurred_at": 1608055982,
4
+ "source": "admin_console",
5
+ "user": "user@example.com",
6
+ "object": "event",
7
+ "api_version": "v2",
8
+ "content": {
9
+ "plan": {
10
+ "id": "__TEST__plan_1",
11
+ "name": "Test Plan",
12
+ "invoice_name": "Test Plan",
13
+ "price": 5400,
14
+ "period": 1,
15
+ "period_unit": "year",
16
+ "pricing_model": "per_unit",
17
+ "free_quantity": 0,
18
+ "status": "active",
19
+ "enabled_in_hosted_pages": true,
20
+ "enabled_in_portal": true,
21
+ "addon_applicability": "all",
22
+ "tax_code": "SW054000",
23
+ "sku": "Pro",
24
+ "accounting_code": "Pro",
25
+ "is_shippable": false,
26
+ "updated_at": 1608055982,
27
+ "giftable": false,
28
+ "resource_version": 1608055982403,
29
+ "object": "plan",
30
+ "charge_model": "per_unit",
31
+ "taxable": true,
32
+ "currency_code": "USD",
33
+ "show_description_in_invoices": false,
34
+ "show_description_in_quotes": false,
35
+ "meta_data": { "product_tier": "Pro" }
36
+ }
37
+ },
38
+ "event_type": "plan_updated"
39
+ }
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGGhdl4a","occurred_at":1368301434,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"customer":{"id":"XpbG6hnQqGGD0P3g","auto_collection":"off","net_term_days":0,"allow_direct_debit":false,"created_at":1367523714,"taxability":"taxable","updated_at":1368301434,"resource_version":1368301434000,"deleted":false,"object":"customer","card_status":"no_card","balances":[{"promotional_credits":300,"excess_payments":100000,"refundable_credits":0,"unbilled_charges":0,"object":"customer_balance","currency_code":"USD","balance_currency_code":"USD"}],"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"GBP"},"promotional_credit":{"id":"pc_XpbG6hnQqGGhct4Y","customer_id":"XpbG6hnQqGGD0P3g","type":"increment","amount":300,"description":"add promotional credits","credit_type":"general","closing_balance":300,"done_by":"full_access_key_v1","created_at":1368301434,"object":"promotional_credit","currency_code":"USD"}},"event_type":"promotional_credits_added","webhook_status":"scheduled"}
@@ -0,0 +1 @@
1
+ {"id":"ev_XpbG6hnQqGGhf94d","occurred_at":1368301434,"source":"api","user":"full_access_key_v1","object":"event","api_version":"v2","content":{"customer":{"id":"XpbG6hnQqGGD0P3g","auto_collection":"off","net_term_days":0,"allow_direct_debit":false,"created_at":1367523714,"taxability":"taxable","updated_at":1368301434,"resource_version":1368301434000,"deleted":false,"object":"customer","card_status":"no_card","balances":[{"promotional_credits":200,"excess_payments":100000,"refundable_credits":0,"unbilled_charges":0,"object":"customer_balance","currency_code":"USD","balance_currency_code":"USD"}],"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"GBP"},"promotional_credit":{"id":"pc_XpbG6hnQqGGheZ4b","customer_id":"XpbG6hnQqGGD0P3g","type":"decrement","amount":100,"description":"deduct promotional credits","credit_type":"general","closing_balance":200,"done_by":"full_access_key_v1","created_at":1368301434,"object":"promotional_credit","currency_code":"USD"}},"event_type":"promotional_credits_deducted","webhook_status":"scheduled"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGG6Iz40","occurred_at":1362253290,"source":"admin_console","object":"event","api_version":"v2","content":{"transaction":{"id":"txn_3Nl7oGgQqGG6Ho3w","customer_id":"createSubs","payment_source_id":"pm_XpbG6hnQqGG3Xo3X","payment_method":"direct_debit","gateway":"authorize_net","type":"refund","date":1362253290,"exchange_rate":1.0,"amount":1000,"status":"in_progress","updated_at":1362253290,"resource_version":1362253290000,"deleted":false,"object":"transaction","linked_credit_notes":[{"cn_id":"TEST-CN-3","applied_amount":1000,"applied_at":1362253290,"cn_reason_code":"other","cn_date":1362253290,"cn_total":1000,"cn_status":"refund_due","cn_reference_invoice_id":"4"}],"currency_code":"USD","base_currency_code":"USD"},"invoice":{"id":"4","customer_id":"createSubs","subscription_id":"createSubs","recurring":false,"status":"paid","price_type":"tax_exclusive","date":1362253285,"due_date":1362253285,"net_term_days":0,"exchange_rate":1.0,"total":1000,"amount_paid":1000,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":0,"paid_at":1362253290,"updated_at":1362253290,"resource_version":1362253290000,"deleted":false,"object":"invoice","first_invoice":true,"amount_to_collect":0,"round_off_amount":0,"new_sales_amount":1000,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","tax":0,"line_items":[{"id":"li_3Nl7oGgQqGG4qi3m","date_from":1362253285,"date_to":1362253285,"unit_amount":1000,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"createSubs","amount":1000,"description":"Test Charge with Bank Account","entity_type":"adhoc","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"sub_total":1000,"linked_payments":[{"txn_id":"txn_3Nl7oGgQqGG4tN3n","applied_amount":1000,"applied_at":1362253290,"txn_status":"success","txn_date":1362253285,"txn_amount":1000}],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[{"cn_id":"TEST-CN-3","cn_reason_code":"other","cn_date":1362253290,"cn_total":1000,"cn_status":"refund_due"}],"linked_orders":[],"billing_address":{"first_name":"createSubs","validation_status":"not_validated","object":"billing_address"}},"customer":{"id":"createSubs","first_name":"createSubs","email":"createSubs@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":true,"created_at":1362253267,"taxability":"taxable","updated_at":1362253290,"resource_version":1362253290000,"deleted":false,"object":"customer","primary_payment_source_id":"pm_XpbG6hnQqGG3Xo3X","payment_method":{"object":"payment_method","type":"direct_debit","reference_id":"1913346832/1827223617","gateway":"authorize_net","gateway_account_id":"gw_3Nl7oGgQqGFoyZ6","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"refund_initiated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFsCUk","occurred_at":1344368426,"source":"scheduled_job","object":"event","api_version":"v2","content":{"subscription":{"id":"3Nl7oGgQqGFprj9","customer_id":"3Nl7oGgQqGFprj9","plan_id":"basic","plan_quantity":1,"plan_unit_price":900,"billing_period":1,"billing_period_unit":"month","plan_free_quantity":0,"status":"active","trial_start":1341690024,"trial_end":1344368424,"current_term_start":1344368424,"current_term_end":1347046824,"next_billing_at":1347046824,"created_at":1341085225,"started_at":1341690024,"activated_at":1344368424,"updated_at":1344368425,"has_scheduled_changes":false,"resource_version":1344368425000,"deleted":false,"object":"subscription","currency_code":"USD","addons":[{"id":"data_usage","quantity":1,"unit_price":95,"object":"addon"}],"due_invoices_count":0,"mrr":0,"exchange_rate":1.0,"base_currency_code":"USD"},"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1341085225,"resource_version":1341085225000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGFpzgB","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFpzJA","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"},"invoice":{"id":"1","customer_id":"3Nl7oGgQqGFprj9","subscription_id":"3Nl7oGgQqGFprj9","recurring":true,"status":"paid","price_type":"tax_exclusive","date":1344368424,"due_date":1344368424,"net_term_days":0,"exchange_rate":1.0,"total":995,"amount_paid":995,"amount_adjusted":0,"write_off_amount":0,"credits_applied":0,"amount_due":0,"paid_at":1344368425,"updated_at":1344368425,"resource_version":1344368425000,"deleted":false,"object":"invoice","first_invoice":true,"amount_to_collect":0,"round_off_amount":0,"new_sales_amount":995,"has_advance_charges":false,"currency_code":"USD","base_currency_code":"USD","tax":0,"line_items":[{"id":"li_3Nl7oGgQqGFrxEd","date_from":1344368424,"date_to":1347046824,"unit_amount":900,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":900,"description":"Basic","entity_type":"plan","entity_id":"basic","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0},{"id":"li_3Nl7oGgQqGFrxve","date_from":1344368424,"date_to":1347046824,"unit_amount":95,"quantity":1,"is_taxed":false,"tax_amount":0,"object":"line_item","subscription_id":"3Nl7oGgQqGFprj9","amount":95,"description":"Data Usage","entity_type":"addon","entity_id":"data_usage","tax_exempt_reason":"tax_not_configured","discount_amount":0,"item_level_discount_amount":0}],"sub_total":995,"linked_payments":[{"txn_id":"txn_3Nl7oGgQqGFs2lf","applied_amount":995,"applied_at":1344368425,"txn_status":"success","txn_date":1344368425,"txn_amount":995}],"applied_credits":[],"adjustment_credit_notes":[],"issued_credit_notes":[],"linked_orders":[],"billing_address":{"first_name":"Benjamin","last_name":"Ross","validation_status":"not_validated","object":"billing_address"}}},"event_type":"subscription_activated","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFwtA1t","occurred_at":1349120451,"source":"scheduled_job","object":"event","api_version":"v2","content":{"subscription":{"id":"3Nl7oGgQqGFprj9","customer_id":"3Nl7oGgQqGFprj9","plan_id":"basic","plan_quantity":1,"plan_unit_price":900,"billing_period":1,"billing_period_unit":"month","plan_free_quantity":0,"status":"non_renewing","trial_start":1341690024,"trial_end":1344368424,"current_term_start":1347046824,"current_term_end":1349638824,"remaining_billing_cycles":0,"created_at":1341085225,"started_at":1341690024,"activated_at":1344368424,"cancelled_at":1349638824,"updated_at":1349120451,"has_scheduled_changes":false,"resource_version":1349120451000,"deleted":false,"object":"subscription","currency_code":"USD","addons":[{"id":"data_usage","quantity":1,"unit_price":95,"object":"addon"}],"due_invoices_count":0,"mrr":995,"exchange_rate":1.0,"base_currency_code":"USD"},"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1349120450,"resource_version":1349120450000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGFwhb1k","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFwhM1j","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"subscription_cancellation_reminder","webhook_status":"not_configured"}
@@ -0,0 +1 @@
1
+ {"id":"ev_3Nl7oGgQqGFwp01r","occurred_at":1349120451,"source":"admin_console","object":"event","api_version":"v2","content":{"subscription":{"id":"3Nl7oGgQqGFprj9","customer_id":"3Nl7oGgQqGFprj9","plan_id":"basic","plan_quantity":1,"plan_unit_price":900,"billing_period":1,"billing_period_unit":"month","plan_free_quantity":0,"status":"non_renewing","trial_start":1341690024,"trial_end":1344368424,"current_term_start":1347046824,"current_term_end":1349638824,"remaining_billing_cycles":0,"created_at":1341085225,"started_at":1341690024,"activated_at":1344368424,"cancelled_at":1349638824,"updated_at":1349120451,"has_scheduled_changes":false,"resource_version":1349120451000,"deleted":false,"object":"subscription","currency_code":"USD","addons":[{"id":"data_usage","quantity":1,"unit_price":95,"object":"addon"}],"due_invoices_count":0,"mrr":995,"exchange_rate":1.0,"base_currency_code":"USD"},"customer":{"id":"3Nl7oGgQqGFprj9","first_name":"Benjamin","last_name":"Ross","email":"Benjamin@test.com","auto_collection":"on","net_term_days":0,"allow_direct_debit":false,"created_at":1341085225,"taxability":"taxable","updated_at":1349120450,"resource_version":1349120450000,"deleted":false,"object":"customer","card_status":"valid","primary_payment_source_id":"pm_3Nl7oGgQqGFwhb1k","payment_method":{"object":"payment_method","type":"card","reference_id":"tok_3Nl7oGgQqGFwhM1j","gateway":"chargebee","gateway_account_id":"gw_3Nl7oGgQqGFlba2","status":"valid"},"promotional_credits":0,"refundable_credits":0,"excess_payments":0,"unbilled_charges":0,"preferred_currency_code":"USD"}},"event_type":"subscription_cancellation_scheduled","webhook_status":"not_configured"}