crate::transaction::compliance::rfi::controller::preflight

POST /v1/customers/{customer_id}/transaction/requirement

Changed on

Request

Path parameters

customer_idstring required

Customer ID

Request body

external_account_idstring required

Fiat payment method ID. Empty values are still allowed for legacy DB/internal records where no payment method is attached.

source_assetstring nullable

Asset that will fund the payout, such as USD or USDC. When routing can select vendors with different RFI policies, this is required for an exact preview.

currencystring nullable

Currency of the planned payout. Required to preview currency-specific policies; omit for backward-compatible country/account-only preview.

purpose_codestring nullable

Purpose code selected for the planned payout. The server resolves the canonical payment purpose from country/payment-method reference data.

Example request

{
  "external_account_id": "68e36599-97b6-4fd5-82c2-bf8dec6b648a",
  "source_asset": "USD",
  "currency": "USD",
  "purpose_code": "cn_wire_TRAVEL"
}

Response

requiredboolean required

Whether the planned payout may require additional information.

Changes