Get a customer by its external id
GET
Returns the customer whose current external id is exactly externalId. The match is exact: a cédula or RIF finds the customer only if it is that customer's external id.
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
externalId*stringSuccessful response
application/json- response
id*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidaccountId*stringexternalId*string|nullmainContactId*string|nullnationalId*string|nullfirstName*stringlastName*stringemail*string|nullphoneNumber*string|nulladdress*string|nullcreatedAt*stringupdatedAt*stringfoundContact?curl -X GET 'https://api.unopago.com/v1/customers/external-id/string'Ejemplo de respuesta
{ "id": "string", "accountId": "string", "externalId": "string", "mainContactId": "string", "nationalId": "string", "firstName": "string", "lastName": "string", "email": "string", "phoneNumber": "string", "address": "string", "createdAt": "string", "updatedAt": "string", "foundContact": { "gender": "MALE", "id": "string", "externalId": "string", "email": "string", "phoneNumber": "string", "emailVerified": "string", "phoneVerified": "string", "firstStepsStartedAt": "string", "firstName": "string", "lastName": "string", "nationalId": "string", "dateOfBirth": "string", "nationality": "string", "address": "string", "createdAt": "string", "updatedAt": "string" }}
