Shopify · Capability

Shopify API — Card

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.

Run with Naftiko ShopifyCard

What You Can Do

POST
Deprecated202001createcheckoutsparamtokenpayments — Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
/v1/admin/api/2020-01/checkouts/{token}/payments-json
POST
Deprecated202001creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2020-01/gift-cards-json
GET
Deprecated202001getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2020-01/gift-cards/gift-card-id-json
PUT
Deprecated202001updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2020-01/gift-cards/gift-card-id-json
POST
Deprecated202001creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2020-01/gift-cards/{gift-card-id}/disable-json
POST
Deprecated202004createcheckoutsparamtokenpayments — Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
/v1/admin/api/2020-04/checkouts/{token}/payments-json
POST
Deprecated202004creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2020-04/gift-cards-json
GET
Deprecated202004getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2020-04/gift-cards/gift-card-id-json
PUT
Deprecated202004updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2020-04/gift-cards/gift-card-id-json
POST
Deprecated202004creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2020-04/gift-cards/{gift-card-id}/disable-json
POST
Deprecated202007createcheckoutsparamtokenpayments — Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
/v1/admin/api/2020-07/checkouts/{token}/payments-json
POST
Deprecated202007creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2020-07/gift-cards-json
GET
Deprecated202007getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2020-07/gift-cards/gift-card-id-json
PUT
Deprecated202007updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2020-07/gift-cards/gift-card-id-json
POST
Deprecated202007creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2020-07/gift-cards/{gift-card-id}/disable-json
POST
Createcheckoutsparamtokenpayments — Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
/v1/admin/api/2020-10/checkouts/{token}/payments-json
POST
Creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2020-10/gift-cards-json
GET
Getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2020-10/gift-cards/gift-card-id-json
PUT
Updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2020-10/gift-cards/gift-card-id-json
POST
Creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2020-10/gift-cards/{gift-card-id}/disable-json
POST
Deprecated202101createcheckoutsparamtokenpayments — Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
/v1/admin/api/2021-01/checkouts/{token}/payments-json
POST
Deprecated202101creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2021-01/gift-cards-json
GET
Deprecated202101getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2021-01/gift-cards/gift-card-id-json
PUT
Deprecated202101updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2021-01/gift-cards/gift-card-id-json
POST
Deprecated202101creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2021-01/gift-cards/{gift-card-id}/disable-json
POST
Deprecatedunstablecreatecheckoutsparamtokenpayments — Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
/v1/admin/api/unstable/checkouts/{token}/payments-json
POST
Deprecatedunstablecreategiftcards — Shopify Creates A Gift Card
/v1/admin/api/unstable/gift-cards-json
GET
Deprecatedunstablegetgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/unstable/gift-cards/gift-card-id-json
PUT
Deprecatedunstableupdategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/unstable/gift-cards/gift-card-id-json
POST
Deprecatedunstablecreategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/unstable/gift-cards/{gift-card-id}/disable-json

MCP Tools

shopify-creates-payment-checkout-using

Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault

shopify-creates-gift-card

Shopify Creates A Gift Card

shopify-retrieves-single-gift-card

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card

Shopify Disables A Gift Card

shopify-creates-payment-checkout-using-2

Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault

shopify-creates-gift-card-2

Shopify Creates A Gift Card

shopify-retrieves-single-gift-card-2

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-2

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-2

Shopify Disables A Gift Card

shopify-creates-payment-checkout-using-3

Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault

shopify-creates-gift-card-3

Shopify Creates A Gift Card

shopify-retrieves-single-gift-card-3

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-3

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-3

Shopify Disables A Gift Card

shopify-creates-payment-checkout-using-4

Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault

shopify-creates-gift-card-4

Shopify Creates A Gift Card

shopify-retrieves-single-gift-card-4

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-4

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-4

Shopify Disables A Gift Card

shopify-creates-payment-checkout-using-5

Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault

shopify-creates-gift-card-5

Shopify Creates A Gift Card

shopify-retrieves-single-gift-card-5

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-5

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-5

Shopify Disables A Gift Card

shopify-creates-payment-checkout-using-6

Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault

shopify-creates-gift-card-6

Shopify Creates A Gift Card

shopify-retrieves-single-gift-card-6

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-6

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-6

Shopify Disables A Gift Card

Capability Spec

shopify-card.yaml Raw ↑
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: adm

# --- truncated at 32 KB (55 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/shopify/refs/heads/main/capabilities/shopify-card.yaml