Several actions within the system may be charged. For such actions it is possible to request a quote, prior to execution. When requesting a quote, the response will always be of similar format. This format is described below.
Name | Type | Required / Optional | Description |
---|---|---|---|
product | String | Required | The product |
action | Enum | Required |
The action
Possible values:
|
quantity | Integer | Required | The quantity charged |
amount | Integer | Required | The amount charged for this product |
refundable | Boolean | Required | Whether the product is refundable |
total | Integer | Required | Total; quantity times amount |