Create a legacy Flutterwave payment plan checkout
Creates a legacy Flutterwave Standard payment plan and checkout URL from the Redis saved entity cart. The controller requires a session id, reads saved_entity_id and saved_entity_frequency, creates payment plans with retry logic, creates a Flutterwave checkout using the first plan id, and returns the provider response with a generated transaction reference. This route is retained for older order/signup flows; newer card flows use the Flutterwave v4 charge endpoints.
Path Parameters
Client id used for currency, client/subaccount lookup, and transaction reference generation.
Program id used for redirect URL and logging context.
Redis frontend session id containing saved_entity_id and saved_entity_frequency. Current code throws an error when it is omitted.
Body
Legacy Flutterwave checkout payload. Optional sponsorship availability and fixed-level amount selections are validated before provider checkout creation. Email and entity_id are used downstream.