{ "error": { "type": "request_error", "code": "transaction_discount_not_found", "detail": "Cannot find provided discount code/id", "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_discount_not_found" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
transaction_discount_not_found- Error message
- Cannot find provided discount code/id
Common causes
- The
discount_idordiscount_codeyou provided doesn't match a discount in this environment.
Troubleshooting
- Verify the
discount_idexists and isn't archived. - Verify the
discount_codeis spelled correctly and is still active. - Check you're working in the right environment. A discount created in sandbox doesn't exist in live, and the reverse.