# The Redirect Flows API is deprecated

GoCardless API deprecated /redirect_flows* without giving a shutdown date yet.

GoCardless has deprecated the /redirect_flows* endpoints without announcing a shutdown date. The provider considers these legacy APIs, and calls to them fail for new integrators. Existing integrations risk failure as the functionality is phased out.

## What to use instead

Set up mandates using a Billing Request via POST /billing_requests along with a Billing Request Flow via POST /billing_request_flows instead of using /redirect_flows.

- API: GoCardless API (api.gocardless.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/redirect_flows*`
- Source: [Announcement](https://docs.gocardless.com/docs/api-reference/redirect-flow)
- Verified: October 26, 2026, against GoCardless API's own pages
- Page: https://www.okapi.bot/providers/gocardless-api/breaking-changes/the-redirect-flows-api-is-deprecated/

## GoCardless API's words

> Redirect Flows are legacy APIs and cannot be used by new integrators. The Billing Request flow API should be used for your payment flows.

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