#pomelo-subscription-onetimefee
1 messages · Page 1 of 1 (latest)
@warm fjord let's talk here please
curl 'https://api.stripe.com/v1/subscriptions'
-u 'sk_test_xx:'
-d 'customer=cus_xx'
-d 'items[0][price]=price_subscription'
-d 'items[0][quantity]=1'
-d 'metadata[crm_id]=6735'
-d 'add_invoice_items[0][price]=price_onetime'
-d 'add_invoice_items[0][quantity]=1'
-d collection_method=send_invoice
-d days_until_due=10
-d billing_cycle_anchor=1693605419
-d trial_end=1692655019
what's the problem with that code?
The one time item price is added to the trial invoice, where as i was it to be in the invoice after the trial period