Skip to main content

@usdctofiat/offramp


@usdctofiat/offramp / isValidIBAN

Function: isValidIBAN()

isValidIBAN(iban): boolean

Defined in: packages/offramp-sdk/src/platforms.ts:215

Validates an IBAN using the MOD-97 algorithm (ISO 13616), mirroring curator's N26 processor so a malformed-but-well-formed IBAN is rejected client-side before the maker approves USDC + pays gas. Expects no spaces (the n26 transform strips them and uppercases first).

Parameters

iban

string

Returns

boolean