Skip to main content

SubmitResultError

type SubmitResultError = object;

Tokenization failed — error is always a non-empty string.

Properties

birth_date?

optional birth_date?: never;

card?

optional card?: never;

error

error: string;

Human-readable description of why tokenization failed.


headers?

optional headers?: object;

Response headers forwarded from the tokenization endpoint, useful for debugging (e.g. Cf-Ray for Cloudflare-traced requests).

NameType
Cf-Raystring | null

status?

optional status?: number;

HTTP status code returned by the tokenization endpoint when the request reached the server. Absent for early/local failures.


vault_form_token?

optional vault_form_token?: never;