---
updatedAt: 2025-11-06T20:57:56.000Z
agentTools:
  projectIndex: https://directissuer.readme.io/llms.txt
---

# Finds payment accounts

Finds payment accounts associated to the card holder that can be used to make a payment

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Corserv Solutions REST APIs",
    "description": "CSS REST APIs v10.0.0",
    "version": "branch"
  },
  "servers": [
    {
      "url": "https://extapiai2-1602d:8443",
      "description": "Generated server url"
    }
  ],
  "security": [
    {
      "oauth2": []
    }
  ],
  "tags": [
    {
      "name": "Payment services for external API access",
      "description": "Payment services for clients and card holders from outside the Corserv network"
    }
  ],
  "paths": {
    "/api/v1/gateway/ext/cardholder/payment/accounts": {
      "get": {
        "tags": [
          "Payment services for external API access"
        ],
        "summary": "Finds payment accounts",
        "description": "Finds payment accounts associated to the card holder that can be used to make a payment",
        "operationId": "findPaymentAccounts",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ApiExtPaymentAccount"
                  }
                }
              }
            }
          },
          "204": {
            "description": "No payment accounts were found for the user",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExceptionMsgWrapper"
                }
              }
            }
          },
          "400": {
            "description": "Request data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExceptionMsgWrapper"
                }
              }
            }
          },
          "403": {
            "description": "User has no access to card or account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExceptionMsgWrapper"
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "read:payment"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ExceptionMsgWrapper": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "Not in use currently"
          },
          "errors": {
            "type": "array",
            "description": "A list of errors",
            "example": "error: unauthorized, error_description: Full authorization is required for this resource",
            "items": {
              "type": "string",
              "description": "A list of errors",
              "example": "error: unauthorized, error_description: Full authorization is required for this resource"
            }
          },
          "path": {
            "type": "string",
            "description": "Not in use currently"
          },
          "status": {
            "type": "string",
            "description": "Status",
            "enum": [
              "400",
              "401",
              "403",
              "404",
              "500"
            ]
          },
          "statusMessage": {
            "type": "string",
            "description": "Status message",
            "enum": [
              "No records found",
              "Bad Request",
              "Unauthorized",
              "Internal Server Error",
              "The card was not found",
              "Internal Server Error"
            ]
          },
          "timestamp": {
            "type": "integer",
            "description": "Time stamp",
            "format": "int64",
            "example": 202206304567893
          }
        },
        "description": "Error Message Wrapper"
      },
      "ApiExtPaymentAccount": {
        "required": [
          "account",
          "bankName",
          "id",
          "status"
        ],
        "type": "object",
        "properties": {
          "account": {
            "type": "string",
            "description": "The bank account number",
            "example": "17634806"
          },
          "accountType": {
            "type": "string",
            "description": "The account type",
            "example": "Checking",
            "default": "Checking",
            "enum": [
              "Checking",
              "Savings"
            ]
          },
          "bankName": {
            "type": "string",
            "description": "The bank name",
            "example": "ABC National Bank"
          },
          "id": {
            "type": "string",
            "description": "A unique record identifier",
            "example": "2385"
          },
          "routing": {
            "type": "string",
            "description": "The bank routing number",
            "example": "082374659"
          },
          "status": {
            "type": "string",
            "description": "The status of the account",
            "example": "Active",
            "default": "Active",
            "enum": [
              "Active",
              "Deleted"
            ]
          },
          "nickname": {
            "type": "string",
            "description": "The nickname of the account",
            "example": "CHKAC"
          }
        }
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://extapiai2-1602d:8443/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false,
    "samples-enabled": true
  }
}
```