Description Usage Arguments Details Value See Also
Update a customer
1 2 3 |
customerId |
The ID of the customer |
account_balance |
Integer amount in pence |
coupon |
A discount on recurring charges |
default_source |
ID of source to make customer new default |
description |
Arbitary string |
email |
customer's email address |
metadata |
A named list # @param plan ID of the plan to subscribe customer to # @param quantity Quantity you'd like to apply to subscription. Needs plan. |
shipping |
Optional dictionary |
source |
A token from get_token # @param tax_percent A positive decimal. Percentage added as tax. # @param trail_end Unix timestamp when trial period ends. Needs plan. |
Setting account_balance
to negative means the customer will have a credit.
A positive amount means it will be added to the next invoice.
description, email, metadata
will be set to empty if you POST an empty value.
List object
Other customers: create_customer
,
delete_customer
,
get_customer
, list_customers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.