merchant_config

PATCH /api/me/merchants/:id/gateways/:gateway/resources/:resource

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.

patch/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

Path parameters

idstring required

Server-issued identifier

gatewaystring required
resourcestring required

Request body

idstring
route_patternstring
type'page' | 'api' | 'dataset' | 'mcp_tool' | 'product'
namestring nullable
descriptionstring
activeboolean
paywall_enabledboolean
currency'USD'
billing_unit'request'
unit_weightinteger
price_usdstring
tier'standard' | 'complex' | 'premium' | 'null' nullable
chainsstring[]
payment_assetsstring[]
daily_unit_limitinteger nullable
fallback_gateway_idstring nullable
revisionstring required
context_revisionstring required

Response

Owned authoritative sanitized result.

operation_idstring required
revisionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.