Skip to main content

Find Customer Schemas

API endpoints for discovering customers within the Peere Network.

Endpoints

MethodEndpointDescription
GET/v1/customer/banksFind banks associated with customer email
POST/v1/customer/device/lookupIdentify customer through device fingerprinting

GET /v1/customer/banks

Find which banks a customer is associated with using their email address.

Query Parameters

ParameterTypeRequiredDescription
emailstringYesCustomer email address

Response Schema

{
  "statusCode": 200,
  "success": true,
  "message": "Customer banks retrieved successfully",
  "data": {
    "banks": [
      {
        "bankId": "string",
        "bankName": "string",
        "accountName": "string",
        "phrase": "string",
        "customerName": "string"
      }
    ]
  }
}

Response Fields

FieldTypeDescription
bankIdstringUnique bank identifier
bankNamestringBank name
accountNamestringMasked account identifier
phrasestringLookup phrase for transactions
customerNamestringObfuscated customer name

POST /v1/customer/device/lookup

Identify customers through device fingerprinting for returning customer recognition.

Request Body

{
  "deviceId": "string"
}

Request Schema

FieldTypeRequiredDescription
deviceIdstringYesDevice identifier for lookup

Response Schema

{
  "statusCode": 200,
  "success": true,
  "message": "Device lookup successful",
  "data": {
    "bankId": "string",
    "bankName": "string",
    "accountName": "string",
    "phrase": "string",
    "customerName": "string"
  }
}

Response Fields

FieldTypeDescription
bankIdstringAssociated bank identifier
bankNamestringBank name
accountNamestringMasked account information
phrasestringLookup phrase for billing
customerNamestringPrivacy protected customer name

Error Responses

400 Bad Request

{
  "statusCode": 400,
  "success": false,
  "message": "Invalid email format"
}

404 Not Found

{
  "statusCode": 404,
  "success": false,
  "message": "Device not found in system"
}