The settlement route the SWIFT gateway sends a currency through, chosen for the destination bank when destination_bic names one: the nostro account, the correspondent's same-day window and value date, outbound charges and liquidity
/ledger/correspondent/routes/{currency}The SWIFT gateway service (svc_payments) reaches this route with one scope and nothing else of the ledger's: ledger:correspondent:route reads settlement routes, ledger:correspondent:post posts movements, ledger:correspondent:statement delivers cash management messages. destination_bic names the beneficiary bank: the account whose terms name the longest prefix of it settles the payment, and otherwise the currency's primary account does. A currency with no open nostro account at an active correspondent, or no approved terms in force, is ledger.correspondent_route_unavailable.
Path parameters
currencystringRequiredQuery parameters
destination_bicstringOptionalatstringOptionalReturns
200 OK
accepts_nowbooleanRequiredaccount_identifierstringRequiredcorrespondent_bicstringRequiredcorrespondent_idstringRequiredcorrespondent_namestringRequiredcurrency_codestringRequiredcutoffobjectRequiredCutoffWindow is when the correspondent values a payment in the currency on the same day: from the opening to the cutoff, local to the correspondent's time zone, on its business days. The times and the market holidays come from the account agreement; SWIFT delivers at any hour.
4 child attributes
cutoffstringRequiredHH:MM
holidaysarray of stringsOptionalYYYY-MM-DD weekdays the correspondent's market is closed
opensstringRequiredHH:MM
time_zonestringRequireddestination_bicstringOptionalDestinationBIC is the beneficiary bank the route was chosen for, RoutedByPrefix the prefix in the account's terms that chose it (empty when the currency's primary route settled it), and Direct reports that the destination is the correspondent itself, so the payment reaches the beneficiary's bank without another institution in the chain.
directbooleanRequiredheadroom_amountintegerRequiredPosted balance above the minimum; negative when below it
ledger_account_idstringRequiredExample lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
maximum_balanceintegerRequiredminimum_balanceintegerRequirednostro_account_idstringRequiredExample acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm
open_liquidity_alertsarray of stringsRequiredoutbound_chargesarray of objectsRequired4 child attributes
amountintegerRequiredbillingstringRequiredItem_debit, invoice or deducted
charge_bearerstringRequireddirectionstringRequiredOutbound or inbound
posted_balanceintegerRequiredrouted_by_prefixstringOptionaltarget_balanceintegerRequiredterms_idintegerRequiredvalue_datestring · dateRequiredA business date, YYYY-MM-DD
Errors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503