Transaction requires a currency_code for custom discounts.
You are trying to create a transaction with a custom discount that requires a currency_code to be included.
Error Message | Cannot create transaction without currency code |
Error Code | transaction_requires_currency_code_for_custom_discount |
Status Code | 400 |
Common causes
Transaction requires a
currency_code
when a customdiscount
oftype
flat
orper_seat
is set.
Solutions
Include a
currency_code
in the transaction payload.Update the
type
for thediscount
topercentage
.