---
title: "Pay for a block of prepaid Scout scan credits"
method: POST
path: "/api/x402/scout-credits"
tags: ["Scout Credits"]
---

# Pay for a block of prepaid Scout scan credits

`POST /api/x402/scout-credits`

## Request

- Base URL: `https://flint.network`
- URL: `https://flint.network/api/x402/scout-credits`
- Auth: API key in header `PAYMENT-SIGNATURE`

x402 resource that sells 100 FLINT Scout scan credits for $1.00. Requires a session (WorkOSOwnerSession cookie or bearerAgentSession bearer token) so the credits land on an account. On settlement, credits the account, issues an fsr_ settlement receipt with purpose flint_scout_credit_topup, and returns the new balance.

## Response `200`

Payment settled and 100 credits were added to the caller's account.

- ScoutCreditsTopupResponse
  - `ok` unknown, required
  - `credits_added` unknown, required
  - `balance` integer, required
  - `receipt_id` string, required
  - `receipt_url` string, uri, nullable, required

## Other responses

- `400`: Invalid request
- `401`: No WorkOSOwnerSession cookie or bearerAgentSession token was presented; credits need an account to land on.
- `402`: Canonical x402 v2 payment challenge. No protected or expensive work has executed.
- `429`: The cheap caller-admission quota for paid attempts was exceeded.
- `500`: Server error

---

[API](https://skmtc.dev/flint/apis/flint-agent-transaction-control-api.md) · [All operations](https://skmtc.dev/flint/apis/flint-agent-transaction-control-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flint/apis/flint-agent-transaction-control-api/revisions/eb5052b7b5dc?raw)
