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 . Charges . CreateNewChargeForExistingCustomer
Creates a new charge object in order to charge a credit card for an existing customer.
/*
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 creates a new charge object in order to charge a credit card for an existing customer. This Choreo should be used when a customer has already been created in Stripe and a credit card has already been attached to the customer. Since the credit card should already be attached, this Choreo only requires you to specify the Amount and CustomerID in order to create a new charge. The documentation for this Stripe API function can be found here. Note that when creating charges using credit card details or with card tokens, you should use CreateNewChargeWithCreditCreditCard or CreateNewChargeWithToken, respectively.
The following is a sample of the JSON information returned by this Choreo:
{ "id": "ch_1OsNLNJRsq39YI", "object": "charge", "created": 1362426689, "livemode": false, "paid": true, "amount": 15875, "currency": "usd", "refunded": false, "fee": 490, "fee_details": [ { "amount": 490, "currency": "usd", "type": "stripe_fee", "description": "Stripe processing fees", "application": null, "amount_refunded": 0 } ], "card": { "object": "card", "last4": "4242", "type": "Visa", "exp_month": 2, "exp_year": 2015, "fingerprint": "qhjxpr7DiCdFYTlH", "country": "US", "name": null, "address_line1": null, "address_line2": null, "address_city": null, "address_state": null, "address_zip": null, "address_country": null, "cvc_check": "pass", "address_line1_check": null, "address_zip_check": null }, "failure_message": null, "amount_refunded": 0, "customer": null, "invoice": null, "description": "Enotions order5-1362426683", "dispute": null }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms