@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
| Parameter | Type |
|---|---|
scenario? | CardScenario |
Returns
string