final JsonNode json = JsonHelper.getFirstNode(body);
if (json != null) {
final String userId = (String) JsonHelper.get(json, "user_id");
profile.setId(StringUtils.substringAfter(userId, "/user/"));
for (final String attribute : OAuthAttributesDefinitions.payPalDefinition.getAllAttributes()) {
profile.addAttribute(attribute, JsonHelper.get(json, attribute));
}
}
return profile;
}