Read-only demo.Generated sample data. Changes cannot be saved.

economy_get_balance

economy_get_balance GET YAML steps Enabled Public

Calls this month
0
Errors
0
Error rate
No calls yet
Avg response
No calls yet

This month, UTC.

Definition preview

Read-only outline of the saved source. Edit it under the Edit tab.

Input fields

None.

Pipeline (1)

  1. player read collection economy_balance

Response

Status
200
Body
keys: success, gold
Full source
sourceVersion: 1
kind: endpoint
id: economy_get_balance
name: Get balance
description: Reads the caller's gold balance.
method: GET
enabled: true
steps:
- id: player
  type: read
  collection: economy_balance
  key: '{{steamId}}'
response:
  status: 200
  body:
    success: true
    gold: '{{player.gold|0}}'
module: economy

New endpoint

Choose an id using letters, numbers, underscore or hyphen. A fresh draft opens with this id; nothing is published until you save.

Confirm