{ "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
- Your request includes both a
discount_idand adiscount_code.
Troubleshooting
- Send either
discount_idordiscount_code, not both.