> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chance.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the top-up guide

> Markdown instructions for an agent paying with a top-up code. No authentication.



## OpenAPI

````yaml /openapi.json get /api/v1/credits/topup/guide
openapi: 3.0.3
info:
  title: Chance API
  version: 1.0.0
  description: >-
    Public API-key endpoints for Chance verification, supported wallets, account
    balance and integrations. Desk apps also expose higher-level tools; these
    endpoints do not inherit a Desk approval mode.
servers:
  - url: https://harness.chance.cc
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
tags:
  - name: Verification
    description: Check an action against its rules and fetch past verdicts.
  - name: Credits
    description: Balance and x402 top-ups.
  - name: Escrow wallets
    description: >-
      Create wallets, propose verified actions and track their results with an
      account API key.
  - name: Trader
    description: Liveness reports from trader containers.
  - name: Gas sponsorship
    description: Sponsored gas for trader instances on Polygon.
  - name: Status
    description: Public deployment facts for checking receipts.
paths:
  /api/v1/credits/topup/guide:
    get:
      tags:
        - Credits
      summary: Get the top-up guide
      description: >-
        Markdown instructions for an agent paying with a top-up code. No
        authentication.
      operationId: getTopupGuide
      responses:
        '200':
          description: The guide.
          content:
            text/markdown:
              schema:
                type: string
      security: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: An API key (`chance_sk_live_…`) from https://harness.chance.cc/keys.
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        The same API key sent as `Authorization: Bearer <key>`. If both headers
        are sent, `x-api-key` is used.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.