Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (
- [object] => invoice
- [amount_due] => 4997
- [amount_paid] => 0
- [amount_remaining] => 4997
- [application_fee] =>
- [attempt_count] => 0
- [attempted] =>
- [billing] => charge_automatically
- [charge] =>
- [closed] =>
- [currency] => usd
- [customer] => cus_CsBMGBdq0VwgNs
- [date] => 1529161019
- [description] =>
- [discount] =>
- [due_date] =>
- [ending_balance] =>
- [forgiven] =>
- [lines] => Array
- (
- [object] => list
- [data] => Array
- (
- [0] => Array
- (
- [id] => ii_1CSSDpGf9VumEdZLVt7AYs1X
- [object] => line_item
- [amount] => -998
- [currency] => usd
- [description] => Unused time on Base after 16 May 2018
- [discountable] =>
- [invoice_item] => ii_1CSSDpGf9VumEdZLVt7AYs1X
- [livemode] =>
- [metadata] => Array
- (
- )
- [period] => Array
- (
- [end] => 1529161019
- [start] => 1526487083
- )
- [plan] => Array
- (
- [id] => base
- [object] => plan
- [aggregate_usage] =>
- [amount] => 1000
- [billing_scheme] => per_unit
- [created] => 1526482141
- [currency] => usd
- [interval] => month
- [interval_count] => 1
- [livemode] =>
- [metadata] => Array
- (
- )
- [name] => Base
- [nickname] =>
- [product] => prod_CsBIvmCj7ed0r0
- [statement_descriptor] =>
- [tiers] =>
- [tiers_mode] =>
- [transform_usage] =>
- [trial_period_days] => 14
- [usage_type] => licensed
- )
- [proration] => 1
- [quantity] => 1
- [subscription] => sub_CsBMt0Qh7wcvaG
- [subscription_item] => si_CsCCGjaGepFKPo
- [type] => invoiceitem
- )
- [1] => Array
- (
- [id] => ii_1CSSDpGf9VumEdZLknmRDymd
- [object] => line_item
- [amount] => 2995
- [currency] => usd
- [description] => Remaining time on Pro after 16 May 2018
- [discountable] =>
- [invoice_item] => ii_1CSSDpGf9VumEdZLknmRDymd
- [livemode] =>
- [metadata] => Array
- (
- )
- [period] => Array
- (
- [end] => 1529161019
- [start] => 1526487083
- )
- [plan] => Array
- (
- [id] => pro
- [object] => plan
- [aggregate_usage] =>
- [amount] => 3000
- [billing_scheme] => per_unit
- [created] => 1526482185
- [currency] => usd
- [interval] => month
- [interval_count] => 1
- [livemode] =>
- [metadata] => Array
- (
- )
- [name] => Pro
- [nickname] =>
- [product] => prod_CsBJ8z7vDXPuQl
- [statement_descriptor] =>
- [tiers] =>
- [tiers_mode] =>
- [transform_usage] =>
- [trial_period_days] => 14
- [usage_type] => licensed
- )
- [proration] => 1
- [quantity] => 1
- [subscription] => sub_CsBMt0Qh7wcvaG
- [subscription_item] => si_CsCd00fQYOHCeb
- [type] => invoiceitem
- )
- [2] => Array
- (
- [id] => sub_CsBMt0Qh7wcvaG
- [object] => line_item
- [amount] => 3000
- [currency] => usd
- [description] =>
- [discountable] => 1
- [livemode] =>
- [metadata] => Array
- (
- )
- [period] => Array
- (
- [end] => 1531753019
- [start] => 1529161019
- )
- [plan] => Array
- (
- [id] => pro
- [object] => plan
- [aggregate_usage] =>
- [amount] => 3000
- [billing_scheme] => per_unit
- [created] => 1526482185
- [currency] => usd
- [interval] => month
- [interval_count] => 1
- [livemode] =>
- [metadata] => Array
- (
- )
- [name] => Pro
- [nickname] =>
- [product] => prod_CsBJ8z7vDXPuQl
- [statement_descriptor] =>
- [tiers] =>
- [tiers_mode] =>
- [transform_usage] =>
- [trial_period_days] => 14
- [usage_type] => licensed
- )
- [proration] =>
- [quantity] => 1
- [subscription] =>
- [subscription_item] => si_CsCd00fQYOHCeb
- [type] => subscription
- )
- )
- [has_more] =>
- [total_count] => 3
- [url] => /v1/invoices/upcoming/lines?customer=cus_CsBMGBdq0VwgNs&subscription=sub_CsBMt0Qh7wcvaG&subscription_prorate=true&subscription_proration_date=1526487083
- )
- [livemode] =>
- [metadata] => Array
- (
- )
- [next_payment_attempt] => 1529164619
- [number] => 4B318CE-0005
- [paid] =>
- [period_end] => 1529161019
- [period_start] => 1526482619
- [receipt_number] =>
- [starting_balance] => 0
- [statement_descriptor] =>
- [subscription] => sub_CsBMt0Qh7wcvaG
- [subscription_proration_date] => 1526487083
- [subtotal] => 4997
- [tax] =>
- [tax_percent] =>
- [total] => 4997
- [webhooks_delivered_at] =>
- )
Add Comment
Please, Sign In to add comment