{ "error": { "type": "request_error", "code": "transaction_invalid_discount_currency", "detail": "Flat discounts must be in the same currency as the transaction. Discount currency: EUR, Transaction currency: USD", "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_invalid_discount_currency" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
transaction_invalid_discount_currency- Error message
- Flat discounts must be in the same currency as the transaction. Discount currency: %s, Transaction currency: %s
Common causes
- The discount has a fixed amount (a
flatorper_seatdiscount) in a currency that differs from the transaction's currency. Fixed-amount discounts must match the transaction currency.
Troubleshooting
- Apply a discount whose currency matches the transaction's currency.
- Use a
percentagediscount, which applies regardless of currency.