STRIPE.CHARGE.CREATE
Premium
Charges a credit card or other payment source. For a list of supported currencies please refer to currencies.
Syntax
=STRIPE.CHARGE.CREATE(Amount, Currency, [CustomerID], [Options], [ResponseTarget])
Arguments
| Name | Type | Description | 
|---|---|---|
| Amount | Number | Amount to be charged. A positive integer in the smallest currency unit. | 
| Currency | String | Three-letter ISO currency code, in lowercase. | 
| CustomerID (optional) | String | Create charge only for customer specified by given ID. | 
| 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 | description | "Test charge" | 
| Formula | Result | Comment | 
|---|---|---|
 | JSON | Creates a new charge for currency "usd" and with amount of 2000. | 
 | JSON | Same as before but with an additional description specified by given JSON object. |