STRIPE.CHARGE.UPDATE
Premium
Updates settings for specified charge.
Syntax
=STRIPE.CHARGE.UPDATE(ChargeID, [CustomerID], [Description], [Options], [ResponseTarget])
Arguments
| Name | Type | Description |
|---|---|---|
| ChargeID | String | The unique ID of the charge to update. |
| CustomerID (optional) | String | Associate this charge to customer specified by given ID. |
| Description (optional) | String | Update charge description. |
| Options (optional) | JSON | JSON which defines additional options as key value pairs. See Stripe API for supported options and their values. |
| ResponseTarget (optional) | Target | Specify inbox, outbox, cell or cell-range to write any response to |
Return
| Type | Description |
|---|---|
| Boolean,Result,Error | Request result if no target is specified otherwise TRUE. In case of an error the corresponding error-code is returned. |
Examples
| A | B | |
|---|---|---|
| 1 | metadata[order_id] | 6735 |
| Formula | Result | Comment |
|---|---|---|
| JSON | Updates the description of charge with id "ch_3Lxoal2eZvKYlo2C01xfKOA1". |
| JSON | Same as before but additionally updates order_id specified by given JSON object. |