Fetch A Player Membership Status

Overview

You can lookup a USTA player membership status given a USTA uaid. API will provide membership status information i.e. active, inactive, cancelled etc.

API

This API is called once per player.

URI

Production: POST https://api-ustaconnect.usta.com/v1/api-public/membership/status Stage: POST https://stage-api-ustaconnect.usta.com/v1/api-public/membership/status

Body

{ "uaid":"2017000162" }

Response

One player play history is returned per call.

{ "membershipStatus": "ACTIVE" }


Sample Curl

You must first retrieve an access token using Bound or Unbound method. See Cognito Client Integration Guide for more on how to request a token.

The following is a sample curl to retrieve a player membership status.

Where:

--header 'Authorization: Bearer eyJraW...

specifies the token that you retrieved using the https://account-ustaconnect.usta.com/oauth2/token endpoint.

Â