Members

Details

GET https://api.moonwalk.com/v1/client/members/:email

Get details about a member.

Path Parameters

Name
Type
Description

email

string

User's email address

{    "email": "[email protected]",    "balance": 70380,    "denominationName": "Coins", "denominationCode": "COINS"    }

Spend

POST https://api.moonwalk.com/v1/client/members/:email/spend

Spend tokens on behalf of a user.

Path Parameters

Name
Type
Description

email

string

User's email address

Request Body

Name
Type
Description

points

integer

Number of economy points to deduct from user (required unless rewardId specified)

description

string

This will be displayed in user's activity history (required unless rewardId specified)

rewardId

string

Moonwalk Reward ID user is redeeming (required unless points and description specified)

Earn

POST https://api.moonwalk.com/v1/client/members/:email/earn

Earn tokens on behalf of a user.

Path Parameters

Name
Type
Description

email

string

User's email address

Request Body

Name
Type
Description

points

integer

Number of economy points to add to user (required unless rewardId specified)

description

string

This will be displayed in user's activity history (required unless rewardId specified)

rewardId

string

Moonwalk Reward ID user is redeeming (required unless points and description specified)

Last updated

Was this helpful?