You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Stripe . Invoices . RetrieveUpcomingInvoice
Retrieves a customer's upcoming invoice.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo uses your API Key to authenticate your account with Stripe, and retrieves a customer's upcoming invoice. The documentation for this Stripe API function can be found here.
The following is a sample of the JSON information returned by this Choreo:
{ "date": 1362421775, "period_start": 1360002221, "period_end": 1362421421, "lines": { "object": "list", "count": 1, "url": "/v1/invoices/upcoming/lines?customer=cus_1OrWM68S4ft09D", "data": [ { "id": "su_97gyIxKuxIicGb", "object": "line_item", "type": "subscription", "livemode": false, "amount": 100, "currency": "usd", "proration": false, "period": { "start": 1362421421, "end": 1365099821 }, "quantity": 1, "plan": { "interval": "month", "name": "Java Bindings Plan", "amount": 100, "currency": "usd", "id": "JAVA-PLAN-13f7f5d2-f184-4ee5-a7ef-7ef640607156", "object": "plan", "livemode": false, "interval_count": 1, "trial_period_days": null }, "description": null } ] }, "subtotal": 100, "total": 100, "customer": "cus_1OrWM68S4ft09D", "object": "invoice", "attempted": true, "closed": true, "paid": true, "livemode": false, "attempt_count": 1, "amount_due": 100, "currency": "usd", "starting_balance": 0, "ending_balance": 0, "next_payment_attempt": null, "charge": "ch_1OsGPO0fsxykIp", "discount": null }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms