xpay✦ Policy icon

xpay✦ Policy

Configure spending policies and limits for your workflow

Get Balance

AI-generated

Summary

Retrieve the current wallet balance from your xpay✦ account.

Inputs

None.

Output shape

a single JSON object containing the wallet's available balance and credits (in USDC) along with a success message.

The operation performs a GET request to the /wallet/balance endpoint and returns the balance information. No input parameters are required for this operation.

Examples

Example 1: Get the current wallet balance to check available funds before making service calls.

Set the Operation parameter to 'Get Balance' without additional inputs.

Links

Discussion