Skip to main content
GET
/
v1
/
budgets
/
summary
cURL
curl --request GET \
  --url https://external.vin.gs/api/v1/budgets/summary \
  --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://external.vin.gs/api/v1/budgets/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://external.vin.gs/api/v1/budgets/summary"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://external.vin.gs/api/v1/budgets/summary"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
[
  {
    "total": {
      "amount_cents": 123,
      "currency": "<string>"
    },
    "currency": "<string>",
    "target": {
      "amount_cents": 123,
      "currency": "<string>"
    }
  }
]
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing bearer token",
"details": null,
"requestId": "<string>"
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing bearer token",
"details": null,
"requestId": "<string>"
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing bearer token",
"details": null,
"requestId": "<string>"
}
}

Authorizations

Authorization
string
header
required

Vings OAuth access token or personal access token (vng_pat_…). Use Authorization: Bearer ….

Query Parameters

month
string
year
string

Response

Budget category summary

category
required

Expense category name

Available options:
BOOKS,
CINEMA,
CONCERT,
HOBBY,
MUSIC,
NIGHTLIFE,
SPORTS,
SUBSCRIPTIONS,
VACATION,
VIDEO_GAMES
total
object
required

Total spending in this category for the specified month/year

currency
string
required

Currency code for the amounts

target
object

Budget target amount for this category (if set by user)