buildLocationCreditRequest
@LevelUpApi(contract=PUBLIC)
@RequiresPermission(value="manage_user_campaigns")
public AbstractRequest buildLocationCreditRequest(Location location)
Build a request to request credit at a given location. If an access token is available, it
will be used to show the current user's credit at a location and will require the annotated
permission. If no access token is available, the permission is ignored, and returns back
available credit for new users.
- Parameters:
location
- The location to request credit for.
- Returns:
AbstractRequest
representing a location credit
request.