{ "error": { "type": "request_error", "code": "transaction_cannot_provide_both_discount_code_and_id", "detail": "Must provide either Discount ID OR Discount Code, not both", "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_cannot_provide_both_discount_code_and_id", "errors": [ { "field": "discount_id|discount_code", "message": "Must provide either Discount ID OR Discount Code, not both" } ] }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
-
transaction_cannot_provide_both_discount_code_and_id - Error message
- Must provide either Discount ID OR Discount Code, not both
Common causes
- Discount Code and ID passed at the same time
Troubleshooting
- Ensure only the Discount ID is passed
- Ensure only the Discount Code is passed