---
agentTools:
  projectIndex: https://evolutionscript.readme.io/llms.txt
---

# Payment accounts

Display the list of payment accounts from user.

The Bearer token is the access token obtained from a successful login from [Login](https://evolutionscript.readme.io/reference/user-login) or [Two-Factor](https://evolutionscript.readme.io/reference/two-factor-authentication) request.

Example of a successful result:

```json
{
  status:"success",
  processors:[
    {
      id:"24",
      name:"CoinMkr",
      account:""
    },
    {
      id:"7",
      name:"Payeer",
      account:"P123456"
    },
    {
      id:"4",
      name:"Perfect Money",
      account:"U12346"
    }
  ]
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Api with Access Token",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://yoursite.com/api/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/user/payment-accounts": {
      "get": {
        "summary": "Payment accounts",
        "description": "Display the list of payment accounts from user.",
        "operationId": "payment-accounts",
        "parameters": [
          {
            "name": "Authentication",
            "in": "header",
            "description": "Ex: Bearer {access_token} should be replaced with the user access token.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Bearer {access_token}"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  status:\"success\",\n  processors:[\n    {\n      id:\"24\",\n      name:\"CoinMkr\",\n      account:\"\"\n    },\n    {\n      id:\"7\",\n      name:\"Payeer\",\n      account:\"P123456\"\n    },\n    {\n      id:\"4\",\n      name:\"Perfect Money\",\n      account:\"U12346\"\n    }\n  ]\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  status:\"success\",\n  message: \"invalidtoken\"\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "65bd0d9a8cfebc004220b8d8:65c17402edc020002a1e1f1e"
}
```