# POST /fee_rules is deprecated

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

- 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/)
- Page: https://www.okapi.bot/providers/xendit-api/breaking-changes/post-fee-rules-is-deprecated/

## What to use instead

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

## 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.
