Skip to content

@checkout-kit/testing / declineMessage

Variable: declineMessage ​

ts
const declineMessage: (scenario?) => string;

The message the issuer returns for a declined card. Tests assert on it verbatim, which is how a provider reporting its own wording instead of the issuer's gets caught.

Parameters ​

ParameterType
scenario?CardScenario

Returns ​

string

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