Custom definition of the validation request target.

interface Target {
    headers?: {
        [token: string]: string;
    };
    timeout?: number;
    url: string;
}

Properties

Properties

headers?: {
    [token: string]: string;
}

Custom headers

Type declaration

  • [token: string]: string
timeout?: number

Request timeout in millseconds

url: string

URL of the receipt validator