---
title: "Paygo: partner configuration self-check"
method: GET
path: "/api/v1/paygo/config"
tags: ["Paygo"]
---

# Paygo: partner configuration self-check

`GET /api/v1/paygo/config`

## Request

- Base URL: `https://powersun.vip`
- URL: `https://powersun.vip/api/v1/paygo/config`
- Auth: API key in header `X-API-Key`

Call this FIRST when wiring up an integration: proves the API key is valid and paygo-enabled, and returns every parameter your code needs — payment address (payTo), your tariff, allowed token contracts, limits, and the exact transaction requirements /submit will enforce (expirations, fee_limit, exact-amount payment).

## Response `200`

Partner configuration

- object
  - `partnerName` string
  - `enabled` boolean
  - `sandbox` boolean
  - `payTo` string
  - `tariff` object
    - `energyPriceSun` integer
    - `bandwidthPriceSun` integer
  - `allowedContracts` string[]
  - `limits` object
  - `requirements` object
  - `serverTime` string, date-time

## Other responses

- `401`: API_KEY_REQUIRED / INVALID_API_KEY
- `403`: PAYGO_NOT_ENABLED — the key works but paygo is not enabled for it (contact PowerSun)

---

[API](https://skmtc.dev/powersun/apis/powersun-agent-api.md) · [All operations](https://skmtc.dev/powersun/apis/powersun-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/powersun/apis/powersun-agent-api/revisions/169cc1ebfd26?raw)
