Skip to main content

@usdctofiat/offramp


@usdctofiat/offramp / normalizePaypalMeUsername

Function: normalizePaypalMeUsername()

normalizePaypalMeUsername(value): string

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

Extracts the bare PayPal.me username from any accepted input shape (paypal.me/user, https://paypal.me/user, @user, user). Mirrors the upstream zkp2p-clients normalizer so our offchainId hashes identically.

Parameters

value

string

Returns

string