naftiko: 1.0.0-alpha2 info: label: BigCommerce Storefront Checkouts — Checkout Store Credit description: 'BigCommerce Storefront Checkouts — Checkout Store Credit. 2 operations. Lead operation: BigCommerce Add Store Credit. Self-contained Naftiko capability covering one Bigcommerce business surface.' tags: - Bigcommerce - Checkout Store Credit created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BIGCOMMERCE_API_KEY: BIGCOMMERCE_API_KEY capability: consumes: - type: http namespace: storefront-checkouts-checkout-store-credit baseUri: https://{store_domain}/api/storefront description: BigCommerce Storefront Checkouts — Checkout Store Credit business capability. Self-contained, no shared references. resources: - name: checkouts-checkoutId-store-credit path: /checkouts/{checkoutId}/store-credit operations: - name: addcheckoutstorecredit method: POST description: BigCommerce Add Store Credit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: checkoutId in: path type: string required: true - name: removecheckoutstorecredit method: DELETE description: BigCommerce Remove Store Credit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: checkoutId in: path type: string required: true exposes: - type: rest namespace: storefront-checkouts-checkout-store-credit-rest port: 8080 description: REST adapter for BigCommerce Storefront Checkouts — Checkout Store Credit. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/checkouts/{checkoutid}/store-credit name: checkouts-checkoutid-store-credit description: REST surface for checkouts-checkoutId-store-credit. operations: - method: POST name: addcheckoutstorecredit description: BigCommerce Add Store Credit call: storefront-checkouts-checkout-store-credit.addcheckoutstorecredit with: checkoutId: rest.checkoutId outputParameters: - type: object mapping: $. - method: DELETE name: removecheckoutstorecredit description: BigCommerce Remove Store Credit call: storefront-checkouts-checkout-store-credit.removecheckoutstorecredit with: checkoutId: rest.checkoutId outputParameters: - type: object mapping: $. - type: mcp namespace: storefront-checkouts-checkout-store-credit-mcp port: 9090 transport: http description: MCP adapter for BigCommerce Storefront Checkouts — Checkout Store Credit. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: bigcommerce-add-store-credit description: BigCommerce Add Store Credit hints: readOnly: false destructive: false idempotent: false call: storefront-checkouts-checkout-store-credit.addcheckoutstorecredit with: checkoutId: tools.checkoutId outputParameters: - type: object mapping: $. - name: bigcommerce-remove-store-credit description: BigCommerce Remove Store Credit hints: readOnly: false destructive: true idempotent: true call: storefront-checkouts-checkout-store-credit.removecheckoutstorecredit with: checkoutId: tools.checkoutId outputParameters: - type: object mapping: $.