naftiko: 1.0.0-alpha2 info: label: Shopify API — Refund description: 'Shopify API — Refund. 6 operations. Lead operation: Shopify Retrieves A Specific Refund. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Refund created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: shopify-refund baseUri: '' description: Shopify API — Refund business capability. Self-contained, no shared references. resources: - name: admin-api-2020-01-orders-order_id-refunds-refund_id}.json path: /admin/api/2020-01/orders/{order_id}/refunds/{refund_id}.json operations: - name: deprecated202001getordersparamorderidrefundsparamrefundid method: GET description: Shopify Retrieves A Specific Refund outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: refund_id in: path type: string description: refund_id required: true - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-2020-04-orders-order_id-refunds-refund_id}.json path: /admin/api/2020-04/orders/{order_id}/refunds/{refund_id}.json operations: - name: deprecated202004getordersparamorderidrefundsparamrefundid method: GET description: Shopify Retrieves A Specific Refund outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: refund_id in: path type: string description: refund_id required: true - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-2020-07-orders-order_id-refunds-refund_id}.json path: /admin/api/2020-07/orders/{order_id}/refunds/{refund_id}.json operations: - name: deprecated202007getordersparamorderidrefundsparamrefundid method: GET description: Shopify Retrieves A Specific Refund outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: refund_id in: path type: string description: refund_id required: true - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-2020-10-orders-order_id-refunds-refund_id}.json path: /admin/api/2020-10/orders/{order_id}/refunds/{refund_id}.json operations: - name: getordersparamorderidrefundsparamrefundid method: GET description: Shopify Retrieves A Specific Refund outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: refund_id in: path type: string description: refund_id required: true - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-2021-01-orders-order_id-refunds-refund_id}.json path: /admin/api/2021-01/orders/{order_id}/refunds/{refund_id}.json operations: - name: deprecated202101getordersparamorderidrefundsparamrefundid method: GET description: Shopify Retrieves A Specific Refund outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: refund_id in: path type: string description: refund_id required: true - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-unstable-orders-order_id-refunds-refund_id}.json path: /admin/api/unstable/orders/{order_id}/refunds/{refund_id}.json operations: - name: deprecatedunstablegetordersparamorderidrefundsparamrefundid method: GET description: Shopify Retrieves A Specific Refund outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: refund_id in: path type: string description: refund_id required: true - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. exposes: - type: rest namespace: shopify-refund-rest port: 8080 description: REST adapter for Shopify API — Refund. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/api/2020-01/orders/{order-id}/refunds/refund-id-json name: admin-api-2020-01-orders-order-id-refunds-refund-id-json description: REST surface for admin-api-2020-01-orders-order_id-refunds-refund_id}.json. operations: - method: GET name: deprecated202001getordersparamorderidrefundsparamrefundid description: Shopify Retrieves A Specific Refund call: shopify-refund.deprecated202001getordersparamorderidrefundsparamrefundid with: order_id: rest.order_id refund_id: rest.refund_id fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/orders/{order-id}/refunds/refund-id-json name: admin-api-2020-04-orders-order-id-refunds-refund-id-json description: REST surface for admin-api-2020-04-orders-order_id-refunds-refund_id}.json. operations: - method: GET name: deprecated202004getordersparamorderidrefundsparamrefundid description: Shopify Retrieves A Specific Refund call: shopify-refund.deprecated202004getordersparamorderidrefundsparamrefundid with: order_id: rest.order_id refund_id: rest.refund_id fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/orders/{order-id}/refunds/refund-id-json name: admin-api-2020-07-orders-order-id-refunds-refund-id-json description: REST surface for admin-api-2020-07-orders-order_id-refunds-refund_id}.json. operations: - method: GET name: deprecated202007getordersparamorderidrefundsparamrefundid description: Shopify Retrieves A Specific Refund call: shopify-refund.deprecated202007getordersparamorderidrefundsparamrefundid with: order_id: rest.order_id refund_id: rest.refund_id fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/orders/{order-id}/refunds/refund-id-json name: admin-api-2020-10-orders-order-id-refunds-refund-id-json description: REST surface for admin-api-2020-10-orders-order_id-refunds-refund_id}.json. operations: - method: GET name: getordersparamorderidrefundsparamrefundid description: Shopify Retrieves A Specific Refund call: shopify-refund.getordersparamorderidrefundsparamrefundid with: order_id: rest.order_id refund_id: rest.refund_id fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/orders/{order-id}/refunds/refund-id-json name: admin-api-2021-01-orders-order-id-refunds-refund-id-json description: REST surface for admin-api-2021-01-orders-order_id-refunds-refund_id}.json. operations: - method: GET name: deprecated202101getordersparamorderidrefundsparamrefundid description: Shopify Retrieves A Specific Refund call: shopify-refund.deprecated202101getordersparamorderidrefundsparamrefundid with: order_id: rest.order_id refund_id: rest.refund_id fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/orders/{order-id}/refunds/refund-id-json name: admin-api-unstable-orders-order-id-refunds-refund-id-json description: REST surface for admin-api-unstable-orders-order_id-refunds-refund_id}.json. operations: - method: GET name: deprecatedunstablegetordersparamorderidrefundsparamrefundid description: Shopify Retrieves A Specific Refund call: shopify-refund.deprecatedunstablegetordersparamorderidrefundsparamrefundid with: order_id: rest.order_id refund_id: rest.refund_id fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - type: mcp namespace: shopify-refund-mcp port: 9090 transport: http description: MCP adapter for Shopify API — Refund. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-retrieves-specific-refund description: Shopify Retrieves A Specific Refund hints: readOnly: true destructive: false idempotent: true call: shopify-refund.deprecated202001getordersparamorderidrefundsparamrefundid with: order_id: tools.order_id refund_id: tools.refund_id fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-specific-refund-2 description: Shopify Retrieves A Specific Refund hints: readOnly: true destructive: false idempotent: true call: shopify-refund.deprecated202004getordersparamorderidrefundsparamrefundid with: order_id: tools.order_id refund_id: tools.refund_id fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-specific-refund-3 description: Shopify Retrieves A Specific Refund hints: readOnly: true destructive: false idempotent: true call: shopify-refund.deprecated202007getordersparamorderidrefundsparamrefundid with: order_id: tools.order_id refund_id: tools.refund_id fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-specific-refund-4 description: Shopify Retrieves A Specific Refund hints: readOnly: true destructive: false idempotent: true call: shopify-refund.getordersparamorderidrefundsparamrefundid with: order_id: tools.order_id refund_id: tools.refund_id fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-specific-refund-5 description: Shopify Retrieves A Specific Refund hints: readOnly: true destructive: false idempotent: true call: shopify-refund.deprecated202101getordersparamorderidrefundsparamrefundid with: order_id: tools.order_id refund_id: tools.refund_id fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-specific-refund-6 description: Shopify Retrieves A Specific Refund hints: readOnly: true destructive: false idempotent: true call: shopify-refund.deprecatedunstablegetordersparamorderidrefundsparamrefundid with: order_id: tools.order_id refund_id: tools.refund_id fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $.