Docs

Flat discount is for a currency other than that of the transaction

You are attempting to apply a flat discount that has a different currency to that of the transaction

Example response
{
"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 flat discount you are trying to add to the transaction has a different currency code than the transaction itself

Troubleshooting

  • Ensure the currency code on the discount provided matches that of the transaction

Was this page helpful?