---
title: "GET /api/me/merchants/:id/gateways/:gateway/resources/:resource"
method: GET
path: "/api/me/merchants/{id}/gateways/{gateway}/resources/{resource}"
tags: ["merchant_config"]
---

# GET /api/me/merchants/:id/gateways/:gateway/resources/:resource

`GET /api/me/merchants/{id}/gateways/{gateway}/resources/{resource}`

## Request

- Base URL: `https://api.aifinpay.io`
- URL: `https://api.aifinpay.io/api/me/merchants/{id}/gateways/{gateway}/resources/{resource}`
- Auth: API key in cookie `aifinpay_session`

Owned configuration control-plane. Fresh ownership, Cache-Control no-store. Strict raw UTF8 JSON <=1MiB/depth12/duplicate and unknown keys rejected. Preview does not probe DNS/HTTP. Atomic marker publication; ambiguous completion resolves by idempotency/owned operation lookup. No settlement/network activation.

## Path parameters

- `id` string, required: Server-issued identifier
- `gateway` string, required
- `resource` string, required

## Response `200`

Owned authoritative sanitized result.

- object
  - `revision` string, required
  - `resource` object, required
    - `id` string, required
    - `route_pattern` string, required
    - `type` 'page' | 'api' | 'dataset' | 'mcp_tool' | 'product', required
    - `name` string, nullable
    - `description` string
    - `active` boolean
    - `paywall_enabled` boolean
    - `currency` 'USD'
    - `billing_unit` 'request'
    - `unit_weight` integer
    - `price_usd` string
    - `tier` 'standard' | 'complex' | 'premium' | 'null', nullable
    - `chains` string[]
    - `payment_assets` string[]
    - `daily_unit_limit` integer, nullable
    - `fallback_gateway_id` string, nullable

## Other responses

- `400`: Safe failure without partial active configuration.
- `401`: Safe failure without partial active configuration.
- `403`: AIFP-* error envelope. See backend/server.js safe error handler.
- `404`: Absent or not currently owned; generic existence-safe response.
- `409`: Safe failure without partial active configuration.
- `413`: Safe failure without partial active configuration.
- `429`: Safe failure without partial active configuration.
- `503`: Safe failure without partial active configuration.
- `5XX`: AIFP-* error envelope. See backend/server.js safe error handler.

---

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