valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
25 lines • 752 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.walletEndpoint = void 0;
const zod_1 = require("zod");
const commonTypes_1 = require("../../commonTypes");
exports.walletEndpoint = {
name: 'Wallet',
description: 'Get the current wallet balance for the user',
queryName: 'Store_GetWallet',
category: 'Store Endpoints',
type: 'pd',
suffix: 'store/v1/wallet/{puuid}',
riotRequirements: {
token: true,
entitlement: true,
clientPlatform: true,
clientVersion: true
},
responses: {
'200': zod_1.z.object({
Balances: zod_1.z.record(commonTypes_1.currencyIDSchema, zod_1.z.number())
})
}
};
//# sourceMappingURL=Wallet.js.map