Name: xpGetUserMetaHTTP: GET /api/v2/xp/user/metaAuthentication: REQUIRED - sessionKeyInput: noneOperation: Get XpUser metadata by sessionKey.userId. Should validate the user ID and return information about the user's XpUser. The returned information should be limited to the information specified below.
Success Output:
{
success: true,
accountBalance: 123, // 0 if not a coach
accountCurrency: 'usd',
requestedRate: 0,
...getUserInfo(userId)
}
Name:
xpGetUserMeta
HTTP:GET /api/v2/xp/user/meta
Authentication:REQUIRED - sessionKey
Input: none Operation: GetXpUser
metadata bysessionKey.userId
. Should validate the user ID and return information about the user'sXpUser
. The returned information should be limited to the information specified below. Success Output: