# VoriFY Reseller API

The documentation host is live. API endpoints and access keys are pending. The
endpoint names below describe the proposed integration contract.

## CLI quickstart

```sh
curl -fsS https://docs.vorify.tech/health.json
```

Once keys are issued, load the base URL and bearer key in your backend environment
as `VORIFY_API_BASE` and `VORIFY_API_KEY`. Then request the catalogue.

```sh
curl --fail-with-body --silent --show-error \
  "${VORIFY_API_BASE:?Set the issued API base URL}/products" \
  -H "Authorization: Bearer ${VORIFY_API_KEY:?Set your reseller API key}"
```

## Planned API

| Method and path | Purpose |
| --- | --- |
| `GET /products` | Read available products and reseller prices. |
| `GET /balance` | Read the authenticated reseller's balance. |
| `POST /orders` | Place an order with an idempotency key. |
| `GET /orders/{order_id}` | Retrieve the reseller's order status and delivery. |

Use one idempotency key per purchase. After a timeout, check order status or
repeat the same payload with that key. Store keys in your backend secret store.
