Get all payment methods for a specific cart Beta

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://developer.pace.cloud/doc/cart/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Cart MCP server": {
    "url": "https://developer.pace.cloud/doc/cart/mcp"
  }
}

Close
GET /2025-3/cart-payment-methods

Retrieves all available payment methods for the specified cart, including details about each cart item.

Query parameters

  • filter object Required

    Filter for the cart payment methods.

    Hide filter attribute Show filter attribute object
    • cartId object Required

      Filter for the cart payment methods by cart ID.

      Hide cartId attribute Show cartId attribute object
      • eq string(uuid) Required

        Filter for the cart payment methods by a specific cart ID.

Responses

  • 200 application/json

    Successfully retrieved payment methods for the cart.

    Hide response attribute Show response attribute object
    • data array[object] Required

      The user payment methods based on a cart, including details for each cart item.

      Hide data attributes Show data attributes object
      • alias string | null Required

        An optional user provided alias for the payment method.

      • createdAt string(date-time) Required

        The date and time when the user payment method was created.

      • expiresAt string(date-time) | null Required

        The date and time when the user payment method will expire.

      • icons object Required

        The icons associated with the user payment method.

        Hide icons attributes Show icons attributes object
        • dark string(uri) | null Required

          The URL to the dark theme icon for the payment method.

        • default string(uri) Required

          The URL to the default icon for the payment method.

      • id string(uuid) Required

        The unique identifier of the user payment method.

      • implicit boolean Required

        Determines whether the user payment method has been onboarded.

      • items array[object] Required

        The payment method item info for each cart item.

        Hide items attributes Show items attributes object
        • id string(uuid) Required

          The unique identifier of the cart item.

        • purchaseable boolean Required

          Determines if the payment method can be used to purchase this cart item.

      • kind string Required

        The payment method kind of the user payment method.

      • metadata object | null Required

        Optional metadata associated with the user payment method.

        Additional properties are allowed.

      • name string Required

        The name of the user payment method.

      • shared boolean Required

        Determines whether the user payment method is shared by another user.

      • updatedAt string(date-time) Required

        The date and time when the user payment method was last updated.

      • usable boolean Required

        Determines whether the user payment method can be used to checkout the cart.

  • 401

    Client authentication failed.

  • 403

    Missing one or more required scopes.

  • 404

    The specified cart was not found.

  • 500

    An unexpected error occurred.

GET /2025-3/cart-payment-methods
curl \
 --request GET 'https://api.dev.pace.cloud/cart/2025-3/cart-payment-methods?filter=%7B%7D' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "alias": "My Payment Method",
      "createdAt": "2023-10-01T12:00:00.000Z",
      "expiresAt": "2025-12-31T23:59:59.999Z",
      "icons": {
        "dark": "https://example.com/icons/light.png",
        "default": "https://example.com/icons/default.png"
      },
      "id": "86192f0f-9359-415d-b465-3cfadf0130a3",
      "implicit": true,
      "items": [
        {
          "id": "0c81b3e0-0495-45ce-8df7-6f764c0ef3c5",
          "purchaseable": true
        }
      ],
      "kind": "FUEL_CARD_PROVIDER",
      "metadata": {},
      "name": "(MASTERCARD) ... 0640",
      "shared": false,
      "updatedAt": "2023-10-01T12:00:00.000Z",
      "usable": true
    }
  ]
}