v1

latestOpenAPI 3.1.02026-07-246026.5 KB

Get Clients

get/v4/clients

Query parameters

activestring

Bandera que establece si los clientes a devolver serán activos o no

Headers

Content-Typestring

application/json

Authorizationstring

SecretKey

Response

200

idstring
namestring
phonestring
emailstring
firstNamestring
lastNamestring
createdAtstring
{"stackTrail":"paths:/v4/clients:get:responses:200:content:application/json:schema:items:properties:paymentSource","oasType":"schema","type":"unknown"}
identifierstring

Example response

[
  {
    "id": "Ba1HD5NuXvFHM0X6PU4wc4q3VZ2!K=",
    "name": "John Doe",
    "phone": "5555555555",
    "email": "accept@netpay.com.mx",
    "firstName": "John",
    "lastName": "Doe",
    "createdAt": "2021-11-19T21:31:09.047+0000",
    "paymentSources": [
      {
        "card": {
          "token": "token_YWfPrNEARhAdCaJgdeXTQjiwcQKGPxDYWnTsTIUW",
          "expYear": "26",
          "expMonth": "12",
          "lastFourDigits": "0002",
          "cardHolderName": "John Doe",
          "brand": "visa",
          "deviceFingerPrint": "hdyAWr63jfvf0nnfvyen",
          "ipAddress": "254.254.254.1",
          "bank": "Test bank",
          "type": "debit",
          "country": "unknown",
          "scheme": "unknown"
        },
        "source": "token_YWfPrNEARhAdCaJgdeXTQjiwcQKGPxDYWnTsTIUW",
        "type": "card"
      }
    ],
    "identifier": "clientid-np-1000"
  }
]
All 6 operations