def list_bonus_payments(HITId=None, AssignmentId=None, NextToken=None,
    MaxResults=None):
    """
    The ListBonusPayments operation retrieves the amounts of bonuses you have paid to Workers for a given HIT or assignment.
    See also: AWS API Documentation
    
    
    :example: response = client.list_bonus_payments(
        HITId='string',
        AssignmentId='string',
        NextToken='string',
        MaxResults=123
    )
    
    
    :type HITId: string
    :param HITId: The ID of the HIT associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified

    :type AssignmentId: string
    :param AssignmentId: The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified

    :type NextToken: string
    :param NextToken: Pagination token

    :type MaxResults: integer
    :param MaxResults: 

    :rtype: dict
    :return: {
        'NumResults': 123,
        'NextToken': 'string',
        'BonusPayments': [
            {
                'WorkerId': 'string',
                'BonusAmount': 'string',
                'AssignmentId': 'string',
                'Reason': 'string',
                'GrantTime': datetime(2015, 1, 1)
            },
        ]
    }
    
    
    """
    pass
