Error response from the validator endpoint

interface ErrorPayload {
    code?: CdvPurchase.ErrorCode;
    data?: {
        latest_receipt?: boolean;
    };
    message?: string;
    ok: false;
    status?: number;
}

Properties

An ErrorCode

data?: {
    latest_receipt?: boolean;
}

Type declaration

  • Optional latest_receipt?: boolean

    We validated using the latest version of the receipt, not need to refresh it.

message?: string

Human readable description of the error

ok: false

Value false indicates that the request returned an error

status?: number

Error status (HTTP status)