# POST /fee_rules is deprecated

Xendit API deprecated POST /fee_rules without giving a shutdown date yet.

The POST /fee_rules endpoint has been deprecated without a shutdown date. Calls made to POST /fee_rules will fail. Documentation indicates that Create Fee Rule will be deprecated by September 30, 2025.

## What to use instead

Create a split rule using POST /split_rules and pass its id in the with-split-rule header instead of with-fee-rule.

- API: Xendit API (api.xendit.co)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /fee_rules`
- Source: [Announcement](https://archive.developers.xendit.co/api-reference/)
- Verified: November 6, 2026, against Xendit API's own pages
- Page: https://www.okapi.bot/providers/xendit-api/breaking-changes/post-fee-rules-is-deprecated/

## Xendit API's words

> Create Fee Rule will be deprecated by September 30, 2025. Please migrate to the latest version before the the deprecation date.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
