Skip to content

@checkout-kit/runtime-browser / validatePaymentUrl

Variable: validatePaymentUrl ​

ts
const validatePaymentUrl: (value, base, use, policy?) => URL;

Throws a message without echoing URLs, query secrets or user information.

Parameters ​

ParameterType
valuestring
basestring
usePaymentUrlUse
policy?PaymentUrlPolicy

Returns ​

URL

Apache-2.0 · Headless engine, provider adapters and runnable examples.