---
updatedAt: 2026-05-21T10:45:46.000Z
agentTools:
  projectIndex: https://docs.qpilot.cloud/llms.txt
---

# Get a customer's other payment methods from the payment gateway

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "QPilot API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.qpilot.cloud"
    }
  ],
  "paths": {
    "/Sites/{siteId}/OtherPaymentMethods/{customerId}/{paymentMethodType}": {
      "get": {
        "tags": [
          "PaymentMethods"
        ],
        "summary": "Get a customer's other payment methods from the payment gateway",
        "parameters": [
          {
            "name": "siteId",
            "in": "path",
            "description": "The site identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "customerId",
            "in": "path",
            "description": "The customer identifier",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "paymentMethodType",
            "in": "path",
            "description": "The PaymentMethodType enum",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/QPilot.Core.Models.PaymentMethodType"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QPilot.Core.Models.PaymentMethod"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QPilot.Core.Models.PaymentMethod"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QPilot.Core.Models.PaymentMethod"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "QPilot.Core.Models.GatewayPaymentType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32
        ],
        "type": "integer",
        "format": "int32"
      },
      "QPilot.Core.Models.PaymentMethod": {
        "required": [
          "isDefault"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "type": {
            "$ref": "#/components/schemas/QPilot.Core.Models.PaymentMethodType"
          },
          "gatewayCustomerId": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "gatewayPaymentId": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "lastFourDigits": {
            "maxLength": 4,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "expiration": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingFirstName": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingLastName": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingStreet1": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingStreet2": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingCity": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingState": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingPostcode": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingCountry": {
            "maxLength": 2,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingCompany": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "gatewayPaymentType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.GatewayPaymentType"
          },
          "status": {
            "$ref": "#/components/schemas/QPilot.Core.Models.PaymentMethodStatus"
          },
          "encryptedCardVaultId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "vaultProvider": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.PaymentMethodStatus": {
        "enum": [
          "Active",
          "Expired",
          "Revoked",
          "Invalid"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.PaymentMethodType": {
        "enum": [
          "Stripe",
          "AuthorizeNet",
          "Test",
          "PayPal",
          "Braintree",
          "CyberSource",
          "Undefined",
          "Other",
          "Nmi",
          "PayaV1",
          "TrustCommerce",
          "Square",
          "Sage",
          "CyberSourceV2",
          "Checkout",
          "PaypalV2",
          "Shopify",
          "PayPalV3",
          "Airwallex"
        ],
        "type": "string"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Authorization header using the Bearer scheme. Example: \"Bearer {token}\"",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```