Response from a validator endpoint

interface SuccessPayload {
    data: {
        collection?: VerifiedPurchase[];
        date?: string;
        id: string;
        ineligible_for_intro_price?: string[];
        latest_receipt: boolean;
        transaction: NativeTransaction;
        warning?: string;
    };
    ok: true;
}

Properties

Properties

data: {
    collection?: VerifiedPurchase[];
    date?: string;
    id: string;
    ineligible_for_intro_price?: string[];
    latest_receipt: boolean;
    transaction: NativeTransaction;
    warning?: string;
}

Type declaration

  • Optional collection?: VerifiedPurchase[]

    The collection of purchases in this receipt.

    An array of ValidatorPurchase

  • Optional date?: string

    Date and time the receipt was validated.

    It will provide the client with a more reliable clock time than the user's device when needed.

  • id: string

    Id of the product that have been validated

  • Optional ineligible_for_intro_price?: string[]

    List of product ids for which intro price isn't available anymore

  • latest_receipt: boolean

    Tell the plugin that we've used the latest receipt

  • transaction: NativeTransaction

    Native transaction detail

  • Optional warning?: string

    A warning message about this validation.

    It might be present when the server had to fallback to a backup validation solution.

ok: true

Indicates a successful request