---
updatedAt: 2025-07-14T08:53:21.000Z
agentTools:
  projectIndex: https://docs.paymongo.com/llms.txt
---

# Retrieve a Customer

Use a secret API key to retrieve a Customer.

> 📘 Optional Path Parameters
>
> Note that the email and phone number is optional. It is used to filter the customers array returned.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "paymongo-api",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://api.paymongo.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/customers?email={email}&phone={phone_number}": {
      "get": {
        "summary": "Retrieve a Customer",
        "description": "Use a secret API key to retrieve a Customer.",
        "operationId": "retrieve-customer",
        "parameters": [
          {
            "name": "email",
            "in": "query",
            "description": "E-mail address of the customer.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "phone_number",
            "in": "query",
            "description": "Phone number of the customer. Phone number accepts numbers and the plus sign only. Valid format must be area code followed by 10-digit number.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```