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 . PayPal . SaleTransactions . RefundSale
Allows your application to refund a completed payment.
/*
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 refunds the amount for a completed payment. The documentation for this PayPal resource can be found here.
Here's an example list of acceptable inputs:
AccessToken: {YOUR ACCESS TOKEN}
SaleID: 2MU78835H4515710F
Total: 2.34
Currency: USD
UseSandbox: 1
The following is a sample of the JSON information returned by this Choreo:
{ "id": "4CF18861HF410323U", "create_time": "2013-01-31T04:13:34Z", "update_time": "2013-01-31T04:13:36Z", "state": "completed", "amount": { "total": "2.34", "currency": "USD" }, "sale_id": "2MU78835H4515710F", "parent_payment": "PAY-46E69296BH2194803KEE662Y", "links": [ { "href": "https://api.sandbox.paypal.com/v1/payments/refund/4CF18861HF410323U", "rel": "self", "method": "GET" }, { "href": "https://api.sandbox.paypal.com/v1/payments/payment/PAY-46E69296BH2194803KEE662Y", "rel": "parent_payment", "method": "GET" }, { "href": "https://api.sandbox.paypal.com/v1/payments/sale/2MU78835H4515710F", "rel": "sale", "method": "GET" } ] }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms