Charge client
charge_clientSell a product to a client and charge their saved card on file. Safety: you must pass expected_total (what you told the client) and it must match the cart total to the cent, or nothing is charged. Run list_products and get_client first. [requires scope: money]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | ||
| client_id | Yes | ||
| product_id | Yes | child_product_id from list_products (a parent product id is also accepted) | |
| bankcard_id | No | Specific saved card (optional; default = newest non-expired card) | |
| expected_total | Yes | Total incl. tax the client agreed to, e.g. 289.00 |