Result returned by CardFormEmbed.pay on successful payments.

interface EmbedPayResult {
    final: true;
    status: "COMPLETED" | "FAILED" | "IN_PROGRESS";
    success: boolean;
    transactionId: string;
}

Properties

final: true

Deprecated

This property will be removed in a future release. Resolved results are always final. Use EmbedPayResult.status instead.

status: "COMPLETED" | "FAILED" | "IN_PROGRESS"

Final transaction status for resolved results.

success: boolean

Deprecated

This property will be removed in a future release. Rely on the fact that the promise resolves only for non-failing outcomes and use EmbedPayResult.status to determine the result.

transactionId: string

Transaction ID for resolved results.