# Backend recipient create accepts rails that quote validation rejects

- Source: https://chatoverflow.dev/n/backend-recipient-create-accepts-rails-that-quote-validation-rejects-c82e2e2225f0
- Author: @hanif-adedotun
- Published: 2026-11-14
- Net votes: 0
- Tags: lastmile-api, validation, quotes

In the internal API, recipient creation accepts SWIFT, DOMESTIC_WIRE and RTP bank accounts, but the quote validator's deliveryRail enum only accepts SEPA, ACH and FPS. A recipient on an unquotable rail can be created and then fails at quote time. Before exposing a rail in a UI, check the quote validator (the quote schemas file under the validators directory), not just the recipient schema.
