naftiko: 1.0.0-alpha2 info: label: Shopify API — Card description: 'Shopify API — Card. 30 operations. Lead operation: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Card created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: shopify-card baseUri: '' description: Shopify API — Card business capability. Self-contained, no shared references. resources: - name: admin-api-2020-01-checkouts-token-payments.json path: /admin/api/2020-01/checkouts/{token}/payments.json operations: - name: deprecated202001createcheckoutsparamtokenpayments method: POST description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: path type: string description: token required: true - name: "amount\n required" in: query type: string description: The amount of the payment. - name: "request_details\n required" in: query type: string description: 'The details of the request, including the following attributes:' - name: "session_id\n required" in: query type: string description: A session ID provided by the card vault when creating a payment session. - name: "unique_token\n required" in: query type: string description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests. - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-01-gift_cards.json path: /admin/api/2020-01/gift_cards.json operations: - name: deprecated202001creategiftcards method: POST description: Shopify Creates A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-01-gift_cards-gift_card_id}.json path: /admin/api/2020-01/gift_cards/{gift_card_id}.json operations: - name: deprecated202001getgiftcardsparamgiftcardid method: GET description: Shopify Retrieves A Single Gift Card By Its Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: deprecated202001updategiftcardsparamgiftcardid method: PUT description: Shopify Updates An Existing Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-01-gift_cards-gift_card_id-disable.json path: /admin/api/2020-01/gift_cards/{gift_card_id}/disable.json operations: - name: deprecated202001creategiftcardsparamgiftcardiddisable method: POST description: Shopify Disables A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-04-checkouts-token-payments.json path: /admin/api/2020-04/checkouts/{token}/payments.json operations: - name: deprecated202004createcheckoutsparamtokenpayments method: POST description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: path type: string description: token required: true - name: "amount\n required" in: query type: string description: The amount of the payment. - name: "request_details\n required" in: query type: string description: 'The details of the request, including the following attributes:' - name: "session_id\n required" in: query type: string description: A session ID provided by the card vault when creating a payment session. - name: "unique_token\n required" in: query type: string description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests. - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-04-gift_cards.json path: /admin/api/2020-04/gift_cards.json operations: - name: deprecated202004creategiftcards method: POST description: Shopify Creates A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-04-gift_cards-gift_card_id}.json path: /admin/api/2020-04/gift_cards/{gift_card_id}.json operations: - name: deprecated202004getgiftcardsparamgiftcardid method: GET description: Shopify Retrieves A Single Gift Card By Its Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: deprecated202004updategiftcardsparamgiftcardid method: PUT description: Shopify Updates An Existing Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-04-gift_cards-gift_card_id-disable.json path: /admin/api/2020-04/gift_cards/{gift_card_id}/disable.json operations: - name: deprecated202004creategiftcardsparamgiftcardiddisable method: POST description: Shopify Disables A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-07-checkouts-token-payments.json path: /admin/api/2020-07/checkouts/{token}/payments.json operations: - name: deprecated202007createcheckoutsparamtokenpayments method: POST description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: path type: string description: token required: true - name: "amount\n required" in: query type: string description: The amount of the payment. - name: "request_details\n required" in: query type: string description: 'The details of the request, including the following attributes:' - name: "session_id\n required" in: query type: string description: A session ID provided by the card vault when creating a payment session. - name: "unique_token\n required" in: query type: string description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests. - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-07-gift_cards.json path: /admin/api/2020-07/gift_cards.json operations: - name: deprecated202007creategiftcards method: POST description: Shopify Creates A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-07-gift_cards-gift_card_id}.json path: /admin/api/2020-07/gift_cards/{gift_card_id}.json operations: - name: deprecated202007getgiftcardsparamgiftcardid method: GET description: Shopify Retrieves A Single Gift Card By Its Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: deprecated202007updategiftcardsparamgiftcardid method: PUT description: Shopify Updates An Existing Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-07-gift_cards-gift_card_id-disable.json path: /admin/api/2020-07/gift_cards/{gift_card_id}/disable.json operations: - name: deprecated202007creategiftcardsparamgiftcardiddisable method: POST description: Shopify Disables A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-10-checkouts-token-payments.json path: /admin/api/2020-10/checkouts/{token}/payments.json operations: - name: createcheckoutsparamtokenpayments method: POST description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: path type: string description: token required: true - name: "amount\n required" in: query type: string description: The amount of the payment. - name: "request_details\n required" in: query type: string description: 'The details of the request, including the following attributes:' - name: "session_id\n required" in: query type: string description: A session ID provided by the card vault when creating a payment session. - name: "unique_token\n required" in: query type: string description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests. - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-10-gift_cards.json path: /admin/api/2020-10/gift_cards.json operations: - name: creategiftcards method: POST description: Shopify Creates A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-10-gift_cards-gift_card_id}.json path: /admin/api/2020-10/gift_cards/{gift_card_id}.json operations: - name: getgiftcardsparamgiftcardid method: GET description: Shopify Retrieves A Single Gift Card By Its Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: updategiftcardsparamgiftcardid method: PUT description: Shopify Updates An Existing Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-10-gift_cards-gift_card_id-disable.json path: /admin/api/2020-10/gift_cards/{gift_card_id}/disable.json operations: - name: creategiftcardsparamgiftcardiddisable method: POST description: Shopify Disables A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2021-01-checkouts-token-payments.json path: /admin/api/2021-01/checkouts/{token}/payments.json operations: - name: deprecated202101createcheckoutsparamtokenpayments method: POST description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: path type: string description: token required: true - name: "amount\n required" in: query type: string description: The amount of the payment. - name: "request_details\n required" in: query type: string description: 'The details of the request, including the following attributes:' - name: "session_id\n required" in: query type: string description: A session ID provided by the card vault when creating a payment session. - name: "unique_token\n required" in: query type: string description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests. - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2021-01-gift_cards.json path: /admin/api/2021-01/gift_cards.json operations: - name: deprecated202101creategiftcards method: POST description: Shopify Creates A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2021-01-gift_cards-gift_card_id}.json path: /admin/api/2021-01/gift_cards/{gift_card_id}.json operations: - name: deprecated202101getgiftcardsparamgiftcardid method: GET description: Shopify Retrieves A Single Gift Card By Its Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: deprecated202101updategiftcardsparamgiftcardid method: PUT description: Shopify Updates An Existing Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2021-01-gift_cards-gift_card_id-disable.json path: /admin/api/2021-01/gift_cards/{gift_card_id}/disable.json operations: - name: deprecated202101creategiftcardsparamgiftcardiddisable method: POST description: Shopify Disables A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-unstable-checkouts-token-payments.json path: /admin/api/unstable/checkouts/{token}/payments.json operations: - name: deprecatedunstablecreatecheckoutsparamtokenpayments method: POST description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: path type: string description: token required: true - name: "amount\n required" in: query type: string description: The amount of the payment. - name: "request_details\n required" in: query type: string description: 'The details of the request, including the following attributes:' - name: "session_id\n required" in: query type: string description: A session ID provided by the card vault when creating a payment session. - name: "unique_token\n required" in: query type: string description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests. - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-unstable-gift_cards.json path: /admin/api/unstable/gift_cards.json operations: - name: deprecatedunstablecreategiftcards method: POST description: Shopify Creates A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-unstable-gift_cards-gift_card_id}.json path: /admin/api/unstable/gift_cards/{gift_card_id}.json operations: - name: deprecatedunstablegetgiftcardsparamgiftcardid method: GET description: Shopify Retrieves A Single Gift Card By Its Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: deprecatedunstableupdategiftcardsparamgiftcardid method: PUT description: Shopify Updates An Existing Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-unstable-gift_cards-gift_card_id-disable.json path: /admin/api/unstable/gift_cards/{gift_card_id}/disable.json operations: - name: deprecatedunstablecreategiftcardsparamgiftcardiddisable method: POST description: Shopify Disables A Gift Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gift_card_id in: path type: string description: gift_card_id required: true - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: shopify-card-rest port: 8080 description: REST adapter for Shopify API — Card. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/api/2020-01/checkouts/{token}/payments-json name: admin-api-2020-01-checkouts-token-payments-json description: REST surface for admin-api-2020-01-checkouts-token-payments.json. operations: - method: POST name: deprecated202001createcheckoutsparamtokenpayments description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault call: shopify-card.deprecated202001createcheckoutsparamtokenpayments with: token: rest.token ? "amount\n required" : "rest.amount\n required" ? "request_details\n required" : "rest.request_details\n required" ? "session_id\n required" : "rest.session_id\n required" ? "unique_token\n required" : "rest.unique_token\n required" body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-01/gift-cards-json name: admin-api-2020-01-gift-cards-json description: REST surface for admin-api-2020-01-gift_cards.json. operations: - method: POST name: deprecated202001creategiftcards description: Shopify Creates A Gift Card call: shopify-card.deprecated202001creategiftcards with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-01/gift-cards/gift-card-id-json name: admin-api-2020-01-gift-cards-gift-card-id-json description: REST surface for admin-api-2020-01-gift_cards-gift_card_id}.json. operations: - method: GET name: deprecated202001getgiftcardsparamgiftcardid description: Shopify Retrieves A Single Gift Card By Its Id call: shopify-card.deprecated202001getgiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id outputParameters: - type: object mapping: $. - method: PUT name: deprecated202001updategiftcardsparamgiftcardid description: Shopify Updates An Existing Gift Card call: shopify-card.deprecated202001updategiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-01/gift-cards/{gift-card-id}/disable-json name: admin-api-2020-01-gift-cards-gift-card-id-disable-json description: REST surface for admin-api-2020-01-gift_cards-gift_card_id-disable.json. operations: - method: POST name: deprecated202001creategiftcardsparamgiftcardiddisable description: Shopify Disables A Gift Card call: shopify-card.deprecated202001creategiftcardsparamgiftcardiddisable with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/checkouts/{token}/payments-json name: admin-api-2020-04-checkouts-token-payments-json description: REST surface for admin-api-2020-04-checkouts-token-payments.json. operations: - method: POST name: deprecated202004createcheckoutsparamtokenpayments description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault call: shopify-card.deprecated202004createcheckoutsparamtokenpayments with: token: rest.token ? "amount\n required" : "rest.amount\n required" ? "request_details\n required" : "rest.request_details\n required" ? "session_id\n required" : "rest.session_id\n required" ? "unique_token\n required" : "rest.unique_token\n required" body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/gift-cards-json name: admin-api-2020-04-gift-cards-json description: REST surface for admin-api-2020-04-gift_cards.json. operations: - method: POST name: deprecated202004creategiftcards description: Shopify Creates A Gift Card call: shopify-card.deprecated202004creategiftcards with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/gift-cards/gift-card-id-json name: admin-api-2020-04-gift-cards-gift-card-id-json description: REST surface for admin-api-2020-04-gift_cards-gift_card_id}.json. operations: - method: GET name: deprecated202004getgiftcardsparamgiftcardid description: Shopify Retrieves A Single Gift Card By Its Id call: shopify-card.deprecated202004getgiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id outputParameters: - type: object mapping: $. - method: PUT name: deprecated202004updategiftcardsparamgiftcardid description: Shopify Updates An Existing Gift Card call: shopify-card.deprecated202004updategiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/gift-cards/{gift-card-id}/disable-json name: admin-api-2020-04-gift-cards-gift-card-id-disable-json description: REST surface for admin-api-2020-04-gift_cards-gift_card_id-disable.json. operations: - method: POST name: deprecated202004creategiftcardsparamgiftcardiddisable description: Shopify Disables A Gift Card call: shopify-card.deprecated202004creategiftcardsparamgiftcardiddisable with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/checkouts/{token}/payments-json name: admin-api-2020-07-checkouts-token-payments-json description: REST surface for admin-api-2020-07-checkouts-token-payments.json. operations: - method: POST name: deprecated202007createcheckoutsparamtokenpayments description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault call: shopify-card.deprecated202007createcheckoutsparamtokenpayments with: token: rest.token ? "amount\n required" : "rest.amount\n required" ? "request_details\n required" : "rest.request_details\n required" ? "session_id\n required" : "rest.session_id\n required" ? "unique_token\n required" : "rest.unique_token\n required" body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/gift-cards-json name: admin-api-2020-07-gift-cards-json description: REST surface for admin-api-2020-07-gift_cards.json. operations: - method: POST name: deprecated202007creategiftcards description: Shopify Creates A Gift Card call: shopify-card.deprecated202007creategiftcards with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/gift-cards/gift-card-id-json name: admin-api-2020-07-gift-cards-gift-card-id-json description: REST surface for admin-api-2020-07-gift_cards-gift_card_id}.json. operations: - method: GET name: deprecated202007getgiftcardsparamgiftcardid description: Shopify Retrieves A Single Gift Card By Its Id call: shopify-card.deprecated202007getgiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id outputParameters: - type: object mapping: $. - method: PUT name: deprecated202007updategiftcardsparamgiftcardid description: Shopify Updates An Existing Gift Card call: shopify-card.deprecated202007updategiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/gift-cards/{gift-card-id}/disable-json name: admin-api-2020-07-gift-cards-gift-card-id-disable-json description: REST surface for admin-api-2020-07-gift_cards-gift_card_id-disable.json. operations: - method: POST name: deprecated202007creategiftcardsparamgiftcardiddisable description: Shopify Disables A Gift Card call: shopify-card.deprecated202007creategiftcardsparamgiftcardiddisable with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/checkouts/{token}/payments-json name: admin-api-2020-10-checkouts-token-payments-json description: REST surface for admin-api-2020-10-checkouts-token-payments.json. operations: - method: POST name: createcheckoutsparamtokenpayments description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault call: shopify-card.createcheckoutsparamtokenpayments with: token: rest.token ? "amount\n required" : "rest.amount\n required" ? "request_details\n required" : "rest.request_details\n required" ? "session_id\n required" : "rest.session_id\n required" ? "unique_token\n required" : "rest.unique_token\n required" body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/gift-cards-json name: admin-api-2020-10-gift-cards-json description: REST surface for admin-api-2020-10-gift_cards.json. operations: - method: POST name: creategiftcards description: Shopify Creates A Gift Card call: shopify-card.creategiftcards with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/gift-cards/gift-card-id-json name: admin-api-2020-10-gift-cards-gift-card-id-json description: REST surface for admin-api-2020-10-gift_cards-gift_card_id}.json. operations: - method: GET name: getgiftcardsparamgiftcardid description: Shopify Retrieves A Single Gift Card By Its Id call: shopify-card.getgiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id outputParameters: - type: object mapping: $. - method: PUT name: updategiftcardsparamgiftcardid description: Shopify Updates An Existing Gift Card call: shopify-card.updategiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/gift-cards/{gift-card-id}/disable-json name: admin-api-2020-10-gift-cards-gift-card-id-disable-json description: REST surface for admin-api-2020-10-gift_cards-gift_card_id-disable.json. operations: - method: POST name: creategiftcardsparamgiftcardiddisable description: Shopify Disables A Gift Card call: shopify-card.creategiftcardsparamgiftcardiddisable with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/checkouts/{token}/payments-json name: admin-api-2021-01-checkouts-token-payments-json description: REST surface for admin-api-2021-01-checkouts-token-payments.json. operations: - method: POST name: deprecated202101createcheckoutsparamtokenpayments description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault call: shopify-card.deprecated202101createcheckoutsparamtokenpayments with: token: rest.token ? "amount\n required" : "rest.amount\n required" ? "request_details\n required" : "rest.request_details\n required" ? "session_id\n required" : "rest.session_id\n required" ? "unique_token\n required" : "rest.unique_token\n required" body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/gift-cards-json name: admin-api-2021-01-gift-cards-json description: REST surface for admin-api-2021-01-gift_cards.json. operations: - method: POST name: deprecated202101creategiftcards description: Shopify Creates A Gift Card call: shopify-card.deprecated202101creategiftcards with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/gift-cards/gift-card-id-json name: admin-api-2021-01-gift-cards-gift-card-id-json description: REST surface for admin-api-2021-01-gift_cards-gift_card_id}.json. operations: - method: GET name: deprecated202101getgiftcardsparamgiftcardid description: Shopify Retrieves A Single Gift Card By Its Id call: shopify-card.deprecated202101getgiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id outputParameters: - type: object mapping: $. - method: PUT name: deprecated202101updategiftcardsparamgiftcardid description: Shopify Updates An Existing Gift Card call: shopify-card.deprecated202101updategiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/gift-cards/{gift-card-id}/disable-json name: admin-api-2021-01-gift-cards-gift-card-id-disable-json description: REST surface for admin-api-2021-01-gift_cards-gift_card_id-disable.json. operations: - method: POST name: deprecated202101creategiftcardsparamgiftcardiddisable description: Shopify Disables A Gift Card call: shopify-card.deprecated202101creategiftcardsparamgiftcardiddisable with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/checkouts/{token}/payments-json name: admin-api-unstable-checkouts-token-payments-json description: REST surface for admin-api-unstable-checkouts-token-payments.json. operations: - method: POST name: deprecatedunstablecreatecheckoutsparamtokenpayments description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault call: shopify-card.deprecatedunstablecreatecheckoutsparamtokenpayments with: token: rest.token ? "amount\n required" : "rest.amount\n required" ? "request_details\n required" : "rest.request_details\n required" ? "session_id\n required" : "rest.session_id\n required" ? "unique_token\n required" : "rest.unique_token\n required" body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/gift-cards-json name: admin-api-unstable-gift-cards-json description: REST surface for admin-api-unstable-gift_cards.json. operations: - method: POST name: deprecatedunstablecreategiftcards description: Shopify Creates A Gift Card call: shopify-card.deprecatedunstablecreategiftcards with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/gift-cards/gift-card-id-json name: admin-api-unstable-gift-cards-gift-card-id-json description: REST surface for admin-api-unstable-gift_cards-gift_card_id}.json. operations: - method: GET name: deprecatedunstablegetgiftcardsparamgiftcardid description: Shopify Retrieves A Single Gift Card By Its Id call: shopify-card.deprecatedunstablegetgiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id outputParameters: - type: object mapping: $. - method: PUT name: deprecatedunstableupdategiftcardsparamgiftcardid description: Shopify Updates An Existing Gift Card call: shopify-card.deprecatedunstableupdategiftcardsparamgiftcardid with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/gift-cards/{gift-card-id}/disable-json name: admin-api-unstable-gift-cards-gift-card-id-disable-json description: REST surface for admin-api-unstable-gift_cards-gift_card_id-disable.json. operations: - method: POST name: deprecatedunstablecreategiftcardsparamgiftcardiddisable description: Shopify Disables A Gift Card call: shopify-card.deprecatedunstablecreategiftcardsparamgiftcardiddisable with: gift_card_id: rest.gift_card_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: shopify-card-mcp port: 9090 transport: http description: MCP adapter for Shopify API — Card. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-creates-payment-checkout-using description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202001createcheckoutsparamtokenpayments with: token: tools.token ? "amount\n required" : "tools.amount\n required" ? "request_details\n required" : "tools.request_details\n required" ? "session_id\n required" : "tools.session_id\n required" ? "unique_token\n required" : "tools.unique_token\n required" body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-gift-card description: Shopify Creates A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202001creategiftcards with: body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-single-gift-card description: Shopify Retrieves A Single Gift Card By Its Id hints: readOnly: true destructive: false idempotent: true call: shopify-card.deprecated202001getgiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id outputParameters: - type: object mapping: $. - name: shopify-updates-existing-gift-card description: Shopify Updates An Existing Gift Card hints: readOnly: false destructive: false idempotent: true call: shopify-card.deprecated202001updategiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-disables-gift-card description: Shopify Disables A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202001creategiftcardsparamgiftcardiddisable with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-payment-checkout-using-2 description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202004createcheckoutsparamtokenpayments with: token: tools.token ? "amount\n required" : "tools.amount\n required" ? "request_details\n required" : "tools.request_details\n required" ? "session_id\n required" : "tools.session_id\n required" ? "unique_token\n required" : "tools.unique_token\n required" body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-gift-card-2 description: Shopify Creates A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202004creategiftcards with: body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-single-gift-card-2 description: Shopify Retrieves A Single Gift Card By Its Id hints: readOnly: true destructive: false idempotent: true call: shopify-card.deprecated202004getgiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id outputParameters: - type: object mapping: $. - name: shopify-updates-existing-gift-card-2 description: Shopify Updates An Existing Gift Card hints: readOnly: false destructive: false idempotent: true call: shopify-card.deprecated202004updategiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-disables-gift-card-2 description: Shopify Disables A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202004creategiftcardsparamgiftcardiddisable with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-payment-checkout-using-3 description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202007createcheckoutsparamtokenpayments with: token: tools.token ? "amount\n required" : "tools.amount\n required" ? "request_details\n required" : "tools.request_details\n required" ? "session_id\n required" : "tools.session_id\n required" ? "unique_token\n required" : "tools.unique_token\n required" body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-gift-card-3 description: Shopify Creates A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202007creategiftcards with: body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-single-gift-card-3 description: Shopify Retrieves A Single Gift Card By Its Id hints: readOnly: true destructive: false idempotent: true call: shopify-card.deprecated202007getgiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id outputParameters: - type: object mapping: $. - name: shopify-updates-existing-gift-card-3 description: Shopify Updates An Existing Gift Card hints: readOnly: false destructive: false idempotent: true call: shopify-card.deprecated202007updategiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-disables-gift-card-3 description: Shopify Disables A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202007creategiftcardsparamgiftcardiddisable with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-payment-checkout-using-4 description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault hints: readOnly: false destructive: false idempotent: false call: shopify-card.createcheckoutsparamtokenpayments with: token: tools.token ? "amount\n required" : "tools.amount\n required" ? "request_details\n required" : "tools.request_details\n required" ? "session_id\n required" : "tools.session_id\n required" ? "unique_token\n required" : "tools.unique_token\n required" body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-gift-card-4 description: Shopify Creates A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.creategiftcards with: body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-single-gift-card-4 description: Shopify Retrieves A Single Gift Card By Its Id hints: readOnly: true destructive: false idempotent: true call: shopify-card.getgiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id outputParameters: - type: object mapping: $. - name: shopify-updates-existing-gift-card-4 description: Shopify Updates An Existing Gift Card hints: readOnly: false destructive: false idempotent: true call: shopify-card.updategiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-disables-gift-card-4 description: Shopify Disables A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.creategiftcardsparamgiftcardiddisable with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-payment-checkout-using-5 description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202101createcheckoutsparamtokenpayments with: token: tools.token ? "amount\n required" : "tools.amount\n required" ? "request_details\n required" : "tools.request_details\n required" ? "session_id\n required" : "tools.session_id\n required" ? "unique_token\n required" : "tools.unique_token\n required" body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-gift-card-5 description: Shopify Creates A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202101creategiftcards with: body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-single-gift-card-5 description: Shopify Retrieves A Single Gift Card By Its Id hints: readOnly: true destructive: false idempotent: true call: shopify-card.deprecated202101getgiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id outputParameters: - type: object mapping: $. - name: shopify-updates-existing-gift-card-5 description: Shopify Updates An Existing Gift Card hints: readOnly: false destructive: false idempotent: true call: shopify-card.deprecated202101updategiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-disables-gift-card-5 description: Shopify Disables A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecated202101creategiftcardsparamgiftcardiddisable with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-payment-checkout-using-6 description: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecatedunstablecreatecheckoutsparamtokenpayments with: token: tools.token ? "amount\n required" : "tools.amount\n required" ? "request_details\n required" : "tools.request_details\n required" ? "session_id\n required" : "tools.session_id\n required" ? "unique_token\n required" : "tools.unique_token\n required" body: tools.body outputParameters: - type: object mapping: $. - name: shopify-creates-gift-card-6 description: Shopify Creates A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecatedunstablecreategiftcards with: body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-single-gift-card-6 description: Shopify Retrieves A Single Gift Card By Its Id hints: readOnly: true destructive: false idempotent: true call: shopify-card.deprecatedunstablegetgiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id outputParameters: - type: object mapping: $. - name: shopify-updates-existing-gift-card-6 description: Shopify Updates An Existing Gift Card hints: readOnly: false destructive: false idempotent: true call: shopify-card.deprecatedunstableupdategiftcardsparamgiftcardid with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-disables-gift-card-6 description: Shopify Disables A Gift Card hints: readOnly: false destructive: false idempotent: false call: shopify-card.deprecatedunstablecreategiftcardsparamgiftcardiddisable with: gift_card_id: tools.gift_card_id body: tools.body outputParameters: - type: object mapping: $.