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 MessageCannot create transaction without currency code
Error Codetransaction_requires_currency_code_for_custom_discount
Status Code400

Common causes

  • Transaction requires a currency_code when a custom discount of type flat or per_seat is set.

Solutions

  • Include a currency_code in the transaction payload.

  • Update the type for the discount to percentage.