Shopify Payments API

The Payments API from Shopify — 18 operation(s) for payments.

Operations 24

POST /admin/api/2020-01/checkouts/{token}/payments.json Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault #
GET /admin/api/2020-01/checkouts/{token}/payments.json Shopify Retrieves A List Of Payments On A Particular Checkout #
GET /admin/api/2020-01/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2020-01/checkouts/{token}/payments/count.json Shopify Counts The Number Of Payments Attempted On A Checkout #
POST /admin/api/2020-04/checkouts/{token}/payments.json Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault #
GET /admin/api/2020-04/checkouts/{token}/payments.json Shopify Retrieves A List Of Payments On A Particular Checkout #
GET /admin/api/2020-04/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2020-04/checkouts/{token}/payments/count.json Shopify Counts The Number Of Payments Attempted On A Checkout #
POST /admin/api/2020-07/checkouts/{token}/payments.json Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault #
GET /admin/api/2020-07/checkouts/{token}/payments.json Shopify Retrieves A List Of Payments On A Particular Checkout #
GET /admin/api/2020-07/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2020-07/checkouts/{token}/payments/count.json Shopify Counts The Number Of Payments Attempted On A Checkout #
POST /admin/api/2020-10/checkouts/{token}/payments.json Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault #
GET /admin/api/2020-10/checkouts/{token}/payments.json Shopify Retrieves A List Of Payments On A Particular Checkout #
GET /admin/api/2020-10/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2020-10/checkouts/{token}/payments/count.json Shopify Counts The Number Of Payments Attempted On A Checkout #
POST /admin/api/2021-01/checkouts/{token}/payments.json Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault #
GET /admin/api/2021-01/checkouts/{token}/payments.json Shopify Retrieves A List Of Payments On A Particular Checkout #
GET /admin/api/2021-01/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2021-01/checkouts/{token}/payments/count.json Shopify Counts The Number Of Payments Attempted On A Checkout #
POST /admin/api/unstable/checkouts/{token}/payments.json Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault #
GET /admin/api/unstable/checkouts/{token}/payments.json Shopify Retrieves A List Of Payments On A Particular Checkout #
GET /admin/api/unstable/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/unstable/checkouts/{token}/payments/count.json Shopify Counts The Number Of Payments Attempted On A Checkout #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopify-payments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopify-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Admin REST About Payments API
  description: The Shopify Admin REST API lets you build apps and integrations that extend and enhance the Shopify admin. Access products, customers, orders, inventory, fulfillment, and more. Endpoints are organized by resource type and versioned by release date.
  version: 2025-01
  contact:
    name: Shopify
    url: https://shopify.dev/docs/api/admin-rest
    email: api@shopify.com
  license:
    name: Shopify API Terms
    url: https://www.shopify.com/legal/api-terms
  x-date: '2026-03-04'
servers:
- url: https://{store}.myshopify.com/admin/api/2025-01
  description: Shopify Admin REST API
  variables:
    store:
      default: my-store
      description: The Shopify store subdomain
security:
- AccessToken: []
tags:
- name: Payments
paths:
  /admin/api/2020-01/checkouts/{token}/payments.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-2b883b5dbab7059e
                    unique_token: client-side-idempotency-token
                summary: Create an authorization using a valid session_id stored in the vault
              example2:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-a61a334b946b55fb
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session ID but an invalid credit card number fails and returns errors
              example3:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-an_invalid_session_id
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with an invalid session ID fails and returns errors
              example4:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-d0436243a47a3418
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session can fail for various reasons
      summary: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#create_payment-2020-01
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: query
        name: "amount\n                  required"
        description: The amount of the payment.
        schema: {}
        required: false
      - in: query
        name: "request_details\n                  required"
        description: "The details of the request, including the following attributes:\n                    \n                        ip_address: The IP address of the customer.\n                        accept_language: The language preferences of the customer, in the same format as a standard Accept-Language request header.\n\n                        user_agent: The user agent string for the customer's device."
        schema: {}
        required: false
      - in: query
        name: "session_id\n                  required"
        description: A session ID provided by the card vault when creating a payment session.
        schema: {}
        required: false
      - in: query
        name: "unique_token\n                  required"
        description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests.
        schema: {}
        required: false
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_create_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
    get:
      summary: Shopify Retrieves A List Of Payments On A Particular Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#index-2020-01
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/checkouts/{token}/payments/{payment_id}.json:
    get:
      summary: Shopify Retrieves The Payment Information For An Existing Payment
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#show-2020-01
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: path
        name: payment_id
        required: true
        schema:
          type: string
        description: payment_id
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_checkouts_param_token_payments_param_payment_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/checkouts/{token}/payments/count.json:
    get:
      summary: Shopify Counts The Number Of Payments Attempted On A Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#count-2020-01
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_checkouts_param_token_payments_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/checkouts/{token}/payments.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-2b883b5dbab7059e
                    unique_token: client-side-idempotency-token
                summary: Create an authorization using a valid session_id stored in the vault
              example2:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-a61a334b946b55fb
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session ID but an invalid credit card number fails and returns errors
              example3:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-an_invalid_session_id
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with an invalid session ID fails and returns errors
              example4:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-d0436243a47a3418
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session can fail for various reasons
      summary: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#create_payment-2020-04
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: query
        name: "amount\n                  required"
        description: The amount of the payment.
        schema: {}
        required: false
      - in: query
        name: "request_details\n                  required"
        description: "The details of the request, including the following attributes:\n                    \n                        ip_address: The IP address of the customer.\n                        accept_language: The language preferences of the customer, in the same format as a standard Accept-Language request header.\n\n                        user_agent: The user agent string for the customer's device."
        schema: {}
        required: false
      - in: query
        name: "session_id\n                  required"
        description: A session ID provided by the card vault when creating a payment session.
        schema: {}
        required: false
      - in: query
        name: "unique_token\n                  required"
        description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests.
        schema: {}
        required: false
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_create_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
    get:
      summary: Shopify Retrieves A List Of Payments On A Particular Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#index-2020-04
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_get_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/checkouts/{token}/payments/{payment_id}.json:
    get:
      summary: Shopify Retrieves The Payment Information For An Existing Payment
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#show-2020-04
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: path
        name: payment_id
        required: true
        schema:
          type: string
        description: payment_id
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_get_checkouts_param_token_payments_param_payment_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/checkouts/{token}/payments/count.json:
    get:
      summary: Shopify Counts The Number Of Payments Attempted On A Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#count-2020-04
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_get_checkouts_param_token_payments_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/checkouts/{token}/payments.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-2b883b5dbab7059e
                    unique_token: client-side-idempotency-token
                summary: Create an authorization using a valid session_id stored in the vault
              example2:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-a61a334b946b55fb
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session ID but an invalid credit card number fails and returns errors
              example3:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-an_invalid_session_id
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with an invalid session ID fails and returns errors
              example4:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-d0436243a47a3418
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session can fail for various reasons
      summary: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#create_payment-2020-07
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: query
        name: "amount\n                  required"
        description: The amount of the payment.
        schema: {}
        required: false
      - in: query
        name: "request_details\n                  required"
        description: "The details of the request, including the following attributes:\n                    \n                        ip_address: The IP address of the customer.\n                        accept_language: The language preferences of the customer, in the same format as a standard Accept-Language request header.\n\n                        user_agent: The user agent string for the customer's device."
        schema: {}
        required: false
      - in: query
        name: "session_id\n                  required"
        description: A session ID provided by the card vault when creating a payment session.
        schema: {}
        required: false
      - in: query
        name: "unique_token\n                  required"
        description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests.
        schema: {}
        required: false
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_create_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
    get:
      summary: Shopify Retrieves A List Of Payments On A Particular Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#index-2020-07
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_get_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/checkouts/{token}/payments/{payment_id}.json:
    get:
      summary: Shopify Retrieves The Payment Information For An Existing Payment
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#show-2020-07
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: path
        name: payment_id
        required: true
        schema:
          type: string
        description: payment_id
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_get_checkouts_param_token_payments_param_payment_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/checkouts/{token}/payments/count.json:
    get:
      summary: Shopify Counts The Number Of Payments Attempted On A Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#count-2020-07
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_get_checkouts_param_token_payments_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/checkouts/{token}/payments.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-2b883b5dbab7059e
                    unique_token: client-side-idempotency-token
                summary: Create an authorization using a valid session_id stored in the vault
              example2:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-a61a334b946b55fb
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session ID but an invalid credit card number fails and returns errors
              example3:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-an_invalid_session_id
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with an invalid session ID fails and returns errors
              example4:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-d0436243a47a3418
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session can fail for various reasons
      summary: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#create_payment-2020-10
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: query
        name: "amount\n                  required"
        description: The amount of the payment.
        schema: {}
        required: false
      - in: query
        name: "request_details\n                  required"
        description: "The details of the request, including the following attributes:\n                    \n                        ip_address: The IP address of the customer.\n                        accept_language: The language preferences of the customer, in the same format as a standard Accept-Language request header.\n\n                        user_agent: The user agent string for the customer's device."
        schema: {}
        required: false
      - in: query
        name: "session_id\n                  required"
        description: A session ID provided by the card vault when creating a payment session.
        schema: {}
        required: false
      - in: query
        name: "unique_token\n                  required"
        description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests.
        schema: {}
        required: false
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: create_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
    get:
      summary: Shopify Retrieves A List Of Payments On A Particular Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#index-2020-10
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: get_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/checkouts/{token}/payments/{payment_id}.json:
    get:
      summary: Shopify Retrieves The Payment Information For An Existing Payment
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#show-2020-10
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: path
        name: payment_id
        required: true
        schema:
          type: string
        description: payment_id
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: get_checkouts_param_token_payments_param_payment_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/checkouts/{token}/payments/count.json:
    get:
      summary: Shopify Counts The Number Of Payments Attempted On A Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#count-2020-10
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: get_checkouts_param_token_payments_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/checkouts/{token}/payments.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-2b883b5dbab7059e
                    unique_token: client-side-idempotency-token
                summary: Create an authorization using a valid session_id stored in the vault
              example2:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-a61a334b946b55fb
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session ID but an invalid credit card number fails and returns errors
              example3:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '419.49'
                    session_id: global-an_invalid_session_id
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with an invalid session ID fails and returns errors
              example4:
                value:
                  payment:
                    request_details:
                      ip_address: 123.1.1.1
                      accept_language: en-US,en;q=0.8,fr;q=0.6
                      user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
                    amount: '398.00'
                    session_id: global-d0436243a47a3418
                    unique_token: client-side-idempotency-token
                summary: Creating an authorization with a valid session can fail for various reasons
      summary: Shopify Creates A Payment On A Checkout Using The Session Id Returned By The Card Vault
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#create_payment-2021-01
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: query
        name: "amount\n                  required"
        description: The amount of the payment.
        schema: {}
        required: false
      - in: query
        name: "request_details\n                  required"
        description: "The details of the request, including the following attributes:\n                    \n                        ip_address: The IP address of the customer.\n                        accept_language: The language preferences of the customer, in the same format as a standard Accept-Language request header.\n\n                        user_agent: The user agent string for the customer's device."
        schema: {}
        required: false
      - in: query
        name: "session_id\n                  required"
        description: A session ID provided by the card vault when creating a payment session.
        schema: {}
        required: false
      - in: query
        name: "unique_token\n                  required"
        description: A unique idempotency token generated by your app. This can be any value, but must be unique across all payment requests.
        schema: {}
        required: false
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_create_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
    get:
      summary: Shopify Retrieves A List Of Payments On A Particular Checkout
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#index-2021-01
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      tags:
      - Payments
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_get_checkouts_param_token_payments
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/checkouts/{token}/payments/{payment_id}.json:
    get:
      summary: Shopify Retrieves The Payment Information For An Existing Payment
      description: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment#show-2021-01
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
        description: token
      - in: path
        name: payment_id
        required: true
  

# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/shopify/refs/heads/main/openapi/shopify-payments-api-openapi.yml