type X402ServicesPage = {
data: {
accepts: {
amount: string;
asset: string;
maxTimeoutSeconds: number;
network: string;
payTo: string;
scheme: string;
}[];
authorized: boolean;
blockedByApplication: boolean;
createdAt: string;
description?: string | null;
host: string;
httpMethod?: string | null;
iconUrl?: string | null;
id: string;
networks: string[];
operation?: string | null;
orgRule: "allowed" | "denied" | "covered" | "none";
priceVariable: boolean;
quality?: | {
l30DaysTotalCalls?: number | null;
l30DaysUniquePayers?: number | null;
lastCalledAt?: string | null;
}
| null;
requestHint?: Record<string, unknown> | null;
resource: string;
serviceName?: string | null;
source: "coinbase" | "orthogonal";
tags: string[];
type: string;
updatedAt: string;
usage: | {
agents: {
id: string;
label: string;
}[];
amountRef: string;
}
| null;
via?: string | null;
x402Version: number;
}[];
summary: {
authorizedTotal: number | null;
catalogueTotal: number;
gatewayProviders: Record<string, number>;
};
total: number;
};