Create a Sales Info entity to capture business sales details including accepted card brands, sales channel percentages, and revenue statistics. This information is used for pricing calculations in workflows.
The sales info parameter is defined in the table below.
Sales Info Parameters
Parameter
Type
Required
Description
card_brands
array
No
List of additional card brands to accept beyond Visa and Mastercard. Must be one or more of the CARD_BRANDS. Currently only AMEX is supported.
sales_method
object
No
Distribution of sales across different channels. All percentages must total 100. The sales method parameter is defined in the table below.
sales_amount
array of objects
No
Sales revenue statistics for the business. Each entry requires a type, value, and currency. The sales amount parameters are defined in the table below.
Sales Method Parameters
Parameter
Type
Required
Description
retail
integer
No
Percentage of retail sales (in-person transactions). For example, 25 means 25%.
telephone
integer
No
Percentage of telephone sales (phone-based transactions). For example, 25 means 25%.
online
integer
No
Percentage of online sales (web-based transactions). For example, 25 means 25%.
keyed
integer
No
Percentage of keyed sales (manually entered transactions). For example, 25 means 25%.