code: def create_token(request):
      
      token = GATEWAY.get_token(request)
      return Response({'token': token}, status=status.HTTP_200_OK)
docs: Generic function for creating a payment token from the
      payment backend. Some payment backends (e.g. braintree) support creating a payment
      token, which should be imported from the backend as 'get_token'