---
title: "Api Buy"
method: POST
path: "/api/v1/buy"
---

# Api Buy

`POST /api/v1/buy`

## Request

- Base URL: `https://sibfly.com`
- URL: `https://sibfly.com/api/v1/buy`
- Auth: HTTP bearer

Agent-native top-up: Bearer key (or session) + one JSON call -> a ready payment URL. No browser,
no cookies, no HTML. {amount_usd: 1..10000, method: 'stripe'|'crypto'} -> stripe: {checkout_url,
session_id}; crypto: {invoice_url, txn_id}. Credits land automatically after payment (webhook /
callback); poll GET /api/v1/balance to confirm.

## Request body

- object
  - `amount_usd` number, required
  - `method` 'stripe' | 'crypto'

## Response `200`

Successful Response

- unknown

## Other responses

- `400`: Error
- `401`: Unauthorized
- `422`: Validation Error
- `429`: Rate limited (un-keyed)

---

[API](https://skmtc.dev/sibfly/apis/sibfly-api.md) · [All operations](https://skmtc.dev/sibfly/apis/sibfly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sibfly/apis/sibfly-api/revisions/90d2c9643f31?raw)
