def METHOD_NAME():
    client_id = CREDS.get("client_id")
    secret = CREDS.get("secret")
    token_refresh_endpoint = "https://api-m.sandbox.paypal.com/v1/oauth2/token"
    data = "grant_type=client_credentials"
    headers = {"Accept": "application/json", "Accept-Language": "en_US"}
    auth = (client_id, secret)
    response = requests.request(method="POST", url=token_refresh_endpoint, data=data, headers=headers, auth=auth)
    response_json = response.json()
    # print(response_json)
    API_TOKEN = response_json["access_token"]
    return API_TOKEN