{ "error": { "type": "request_error", "code": "transaction_requires_currency_code_for_custom_discount", "detail": "Cannot create transaction without currency code", "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_requires_currency_code_for_custom_discount" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
transaction_requires_currency_code_for_custom_discount- Error message
- Cannot create transaction without currency code
Common causes
- The transaction has a custom
discountoftypeflatorper_seat, which needs acurrency_codeto know the discount's currency.
Troubleshooting
- Include a
currency_codein the transaction payload. - Change the discount
typetopercentage, which doesn't need a currency code.